Changeset 20799
- Timestamp:
- 04/24/07 17:00:20 (19 months ago)
- Files:
-
- 1 modified
-
haiku/trunk/src/kits/interface/Window.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
haiku/trunk/src/kits/interface/Window.cpp
r20737 r20799 1011 1011 // Close an eventually opened menu, unless the target is the menu itself 1012 1012 BMenu *menu = dynamic_cast<BMenu *>(fFocus); 1013 if (menu != NULL && menu != view )1013 if (menu != NULL && menu != view && menu->State() != MENU_STATE_CLOSED) { 1014 1014 menu->QuitTracking(); 1015 return; 1016 } 1015 1017 1016 1018 if (view != NULL) {
