Salome HOME
projects
/
modules
/
visu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b1d145
)
Fix bug 10955: Collisions with 'Ctrl+I' and 'Ctrl+M' hot keys.
author
jfa
<jfa@opencascade.com>
Wed, 10 May 2006 14:31:39 +0000
(14:31 +0000)
committer
jfa
<jfa@opencascade.com>
Wed, 10 May 2006 14:31:39 +0000
(14:31 +0000)
src/VISUGUI/VisuGUI.cxx
patch
|
blob
|
history
diff --git
a/src/VISUGUI/VisuGUI.cxx
b/src/VISUGUI/VisuGUI.cxx
index 0431e7db3e46bf384adb15f3625bf711e7b32da9..98bb59d630bb09b7339e5bc06314ce08202ca1c8 100644
(file)
--- a/
src/VISUGUI/VisuGUI.cxx
+++ b/
src/VISUGUI/VisuGUI.cxx
@@
-2831,6
+2831,10
@@
activateModule( SUIT_Study* theStudy )
studyActivated();
setMenuShown( true );
setToolShown( true );
+
+ // Reset actions accelerator keys
+ action(VISU_IMPORT_FROM_FILE)->setAccel(QKeySequence(CTRL + Key_I));
+
return true;
}
@@
-2842,6
+2846,9
@@
deactivateModule( SUIT_Study* theStudy )
setMenuShown( false );
setToolShown( false );
+ // Unset actions accelerator keys
+ action(VISU_IMPORT_FROM_FILE)->setAccel(QKeySequence());
+
SalomeApp_Module::deactivateModule( theStudy );
return true;
}