mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
Fix bug 10955: Collisions with 'Ctrl+I' and 'Ctrl+M' hot keys.
This commit is contained in:
parent
d9a6e9d9f3
commit
7cab0901cb
@ -2866,6 +2866,11 @@ bool SMESHGUI::activateModule( SUIT_Study* study )
|
||||
setMenuShown( true );
|
||||
setToolShown( true );
|
||||
|
||||
// Reset actions accelerator keys
|
||||
action(111)->setAccel(QKeySequence(CTRL + Key_B)); // Import DAT
|
||||
action(112)->setAccel(QKeySequence(CTRL + Key_U)); // Import UNV
|
||||
action(113)->setAccel(QKeySequence(CTRL + Key_M)); // Import MED
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
@ -2876,6 +2881,11 @@ bool SMESHGUI::deactivateModule( SUIT_Study* study )
|
||||
|
||||
EmitSignalCloseAllDialogs();
|
||||
|
||||
// Unset actions accelerator keys
|
||||
action(111)->setAccel(QKeySequence()); // Import DAT
|
||||
action(112)->setAccel(QKeySequence()); // Import UNV
|
||||
action(113)->setAccel(QKeySequence()); // Import MED
|
||||
|
||||
return SalomeApp_Module::deactivateModule( study );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user