From: vsr Date: Mon, 5 Jun 2017 10:06:01 +0000 (+0300) Subject: PyEditor: implement Find/Replace feature X-Git-Tag: V8_3_asterstudy_v0.8.2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7ef20cac1dc31ab3ec398fedff3a0567e8f6ebf0;hp=a7f2944c07c79261089eaada6623b06be20ffe89;p=modules%2Fgui.git PyEditor: implement Find/Replace feature - Additional fix to properly process key press --- 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; }