Ticket #4147: Menu.cpp.diff

File Menu.cpp.diff, 449 bytes (added by stimut, 11 years ago)

Updated fix

  • src/kits/interface/Menu.cpp

     
    24372437    int32 itemCount = CountItems();
    24382438    for (int32 i = 0; i < itemCount; i++) {
    24392439        BMenuItem* item = ItemAt(i);
    2440         if (item->Frame().Contains(where))
     2440        if (item->Frame().Contains(where) && item->IsEnabled())
    24412441            return item;
    24422442    }
    24432443