Fixed the behavior of disabled items in the menus when scrolling with the arrows keys.
This commit is contained in:
@@ -475,7 +475,7 @@ namespace nana
|
||||
--pos;
|
||||
}
|
||||
|
||||
if(! menu_->items.at(pos).flags.splitter)
|
||||
if(! menu_->items.at(pos).flags.splitter && menu_->items.at(pos).flags.enabled)
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user