From 6fbc4a7988b3fea45b3023effa7a8d1003acf1d1 Mon Sep 17 00:00:00 2001 From: dankan1890 Date: Mon, 1 Aug 2016 03:20:07 +0200 Subject: [PATCH] Fixed the behavior of disabled items in the menus when scrolling with the arrows keys. --- source/gui/widgets/menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/gui/widgets/menu.cpp b/source/gui/widgets/menu.cpp index dd90fdca..9b80249f 100644 --- a/source/gui/widgets/menu.cpp +++ b/source/gui/widgets/menu.cpp @@ -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; }