[Libreoffice-commits] core.git: vcl/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Jan 6 04:27:38 UTC 2019


 vcl/source/control/edit.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 144ee02fc714f2f022e5046aeec2b46cd4cd1476
Author:     Jim Raykowski <raykowj at gmail.com>
AuthorDate: Sat Dec 1 01:15:59 2018 -0900
Commit:     Jim Raykowski <raykowj at gmail.com>
CommitDate: Sun Jan 6 05:27:15 2019 +0100

    tdf#120170 Use parent key input handler for controls that use subedit
    
    and for key input that is unhandled by edit key input handler
    
    Change-Id: Idd41cca737edb5ead241c3d660cd82870206467b
    Reviewed-on: https://gerrit.libreoffice.org/64417
    Tested-by: Jenkins
    Reviewed-by: Jim Raykowski <raykowj at gmail.com>

diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index 12b9b8943d8e..9bc6942790c2 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -1710,7 +1710,7 @@ void Edit::KeyInput( const KeyEvent& rKEvt )
         mpUpdateDataTimer->Start();//do not update while the user is still travelling in the control
 
     if ( mpSubEdit || !ImplHandleKeyEvent( rKEvt ) )
-        Control::KeyInput( rKEvt );
+        GetParent()->KeyInput( rKEvt );
 }
 
 void Edit::FillLayoutData() const


More information about the Libreoffice-commits mailing list