Fixed the behavior of disabled items in the menus when scrolling with the arrows keys.

This commit is contained in:
dankan1890 2016-08-01 03:20:07 +02:00
parent df5a786965
commit 6fbc4a7988

View File

@ -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;
}