From 144ee02fc714f2f022e5046aeec2b46cd4cd1476 Mon Sep 17 00:00:00 2001 From: Jim Raykowski Date: Sat, 1 Dec 2018 01:15:59 -0900 Subject: 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 --- vcl/source/control/edit.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl') 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 -- cgit