From 7ef20cac1dc31ab3ec398fedff3a0567e8f6ebf0 Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 5 Jun 2017 13:06:01 +0300 Subject: [PATCH] PyEditor: implement Find/Replace feature - Additional fix to properly process key press --- tools/PyEditor/src/PyEditor_FindTool.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/PyEditor/src/PyEditor_FindTool.cxx b/tools/PyEditor/src/PyEditor_FindTool.cxx index de6be82e5..b91000ab1 100644 --- a/tools/PyEditor/src/PyEditor_FindTool.cxx +++ b/tools/PyEditor/src/PyEditor_FindTool.cxx @@ -157,7 +157,7 @@ bool PyEditor_FindTool::event( QEvent* e ) { case Qt::Key_Escape: hide(); - break; + return true; default: break; } -- 2.39.2