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