Changeset 24005
- Timestamp:
- 02/18/08 08:24:13 (9 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
r23870 r24005 1059 1059 BView *view = dynamic_cast<BView *>(target); 1060 1060 1061 // Close an eventually opened menu , if this click targets the1062 // preferred handler, andunless the target is the menu itself1061 // Close an eventually opened menu 1062 // unless the target is the menu itself 1063 1063 BMenu *menu = dynamic_cast<BMenu *>(fFocus); 1064 if (menu != NULL && menu != view && PreferredHandler() == target1064 if (menu != NULL && menu != view 1065 1065 && menu->State() != MENU_STATE_CLOSED) { 1066 1066 menu->QuitTracking();
