Salome HOME
PyEditor: implement Find/Replace feature V8_3_asterstudy_v0.8.2
authorvsr <vsr@opencascade.com>
Mon, 5 Jun 2017 10:06:01 +0000 (13:06 +0300)
committervsr <vsr@opencascade.com>
Mon, 5 Jun 2017 10:06:01 +0000 (13:06 +0300)
- Additional fix to properly process <Escape> key press

tools/PyEditor/src/PyEditor_FindTool.cxx

index de6be82e5bf5f4d76922c82d1c089bb6a11650c8..b91000ab17bb6d2a1462fc1ab7b8682a8bbdfb65 100644 (file)
@@ -157,7 +157,7 @@ bool PyEditor_FindTool::event( QEvent* e )
     {
     case Qt::Key_Escape:
       hide();
-      break;
+      return true;
     default:
       break;
     }