[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - sc/source

Katarina Behrens Katarina.Behrens at cib.de
Sat Jun 27 18:56:50 PDT 2015


 sc/source/ui/app/inputwin.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit bf985aa384e053bc829de4d2ff56ba22049297a8
Author: Katarina Behrens <Katarina.Behrens at cib.de>
Date:   Fri Jun 19 17:07:50 2015 +0200

    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 at ubuntu.com>
    Tested-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>

diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index 9d35bff..b3776fd 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;


More information about the Libreoffice-commits mailing list