From 16dbaf8e4a487c75f5977f5f4febdeae4466c264 Mon Sep 17 00:00:00 2001 From: Jim Raykowski Date: Wed, 9 Jan 2019 00:18:40 +0100 Subject: Revert "tdf#120170 Use parent key input handler for controls that use subedit" This reverts commit 144ee02fc714f2f022e5046aeec2b46cd4cd1476. Change-Id: I8dac626851895b67d24a2ee413c0121f7a5cfe16 Reviewed-on: https://gerrit.libreoffice.org/65988 Tested-by: Jenkins Reviewed-by: Jim Raykowski --- vcl/source/control/edit.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/source/control/edit.cxx') diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index 9bc6942790c2..12b9b8943d8e 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 ) ) - GetParent()->KeyInput( rKEvt ); + Control::KeyInput( rKEvt ); } void Edit::FillLayoutData() const -- cgit