fixed menubars behaviour, and also crashing bug
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16223 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a343f33cf7
commit
fbca7b0cfd
@ -413,7 +413,7 @@ BMenuBar::Track(int32 *action, int32 startIndex, bool showMenu)
|
||||
|
||||
window->Unlock();
|
||||
|
||||
if (localAction == MENU_ACT_CLOSE)
|
||||
if (localAction == MENU_ACT_CLOSE || buttons == 0)
|
||||
break;
|
||||
|
||||
if (snoozeAmount > 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user