summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2015-06-19 17:07:50 +0200
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2015-06-28 01:56:23 +0000
commitbf985aa384e053bc829de4d2ff56ba22049297a8 (patch)
treeed558f110b1796b7de6a97382e37b1f2bfa69b25
parentfb14fc5c95c70751fb2047bdc3bdb40c8131ae98 (diff)
tdf#83859: Make arrow keys work again in named ranges dropdown
Regression from ed6b8c9f8d1b93230 which slightly changed the logic and set bHandled to true by default, thus effectively throwing all key press events except for Enter and Esc away. Set key press events (minus Enter & Esc) to bHandled = false and let them fall through to be dealt with in the base class (ComboBox) Change-Id: Ie1d857725a7de1d0bed1fd59df7eef5390ae5f3d Reviewed-on: https://gerrit.libreoffice.org/16407 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rw-r--r--sc/source/ui/app/inputwin.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index 9d35bffd9785..b3776fd30e8a 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -2505,6 +2505,10 @@ bool ScPosWnd::Notify( NotifyEvent& rNEvt )
ReleaseFocus_Impl();
}
break;
+
+ default:
+ bHandled = false;
+ break;
}
}
break;