Salome HOME
projects
/
modules
/
gui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a7f2944
)
PyEditor: implement Find/Replace feature
V8_3_asterstudy_v0.8.2
author
vsr
<vsr@opencascade.com>
Mon, 5 Jun 2017 10:06:01 +0000
(13:06 +0300)
committer
vsr
<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
patch
|
blob
|
history
diff --git
a/tools/PyEditor/src/PyEditor_FindTool.cxx
b/tools/PyEditor/src/PyEditor_FindTool.cxx
index de6be82e5bf5f4d76922c82d1c089bb6a11650c8..b91000ab17bb6d2a1462fc1ab7b8682a8bbdfb65 100644
(file)
--- 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;
}