The Groups and Ungroups shortcut keys in Script Canvas Editor do not

take effect

Signed-off-by: T.J. McGrath-Daly <tj.mcgrath.daly@huawei.com>
This commit is contained in:
T.J. McGrath-Daly
2021-11-18 15:11:26 +08:00
parent bce5e36b53
commit 7276ad0dbf
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -319,8 +319,8 @@ public:
keys.push_back(QPair<QString, QString>("Edit Menu.Duplicate", "Ctrl+D"));
keys.push_back(QPair<QString, QString>("Edit Menu.Undo", "Ctrl+Z"));
keys.push_back(QPair<QString, QString>("Edit Menu.Redo", "Ctrl+Shift+Z"));
keys.push_back(QPair<QString, QString>("Edit Menu.Group", "Ctrl+G"));
keys.push_back(QPair<QString, QString>("Edit Menu.Ungroup", "Ctrl+Shift+G"));
keys.push_back(QPair<QString, QString>("Edit Menu.Group", "Ctrl+Alt+O"));
keys.push_back(QPair<QString, QString>("Edit Menu.Ungroup", "Ctrl+Alt+P"));
keys.push_back(QPair<QString, QString>("Edit Menu.Rename", "Ctrl+R"));
keys.push_back(QPair<QString, QString>("Edit Menu.Reset", ""));
keys.push_back(QPair<QString, QString>("Edit Menu.Edit Hotkeys", ""));
@@ -56,7 +56,7 @@
<item>
<widget class="QToolButton" name="groupNodes">
<property name="toolTip">
<string>Groups the current selection in the active graph [Ctrl+Shift+G]</string>
<string>Groups the current selection in the active graph [Ctrl+Alt+O]</string>
</property>
<property name="text">
<string>...</string>
@@ -66,14 +66,14 @@
<normaloff>:/GraphCanvasEditorResources/group.svg</normaloff>:/GraphCanvasEditorResources/group.svg</iconset>
</property>
<property name="shortcut">
<string>Ctrl+Shift+G</string>
<string>Ctrl+Alt+O</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="ungroupNodes">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Ungroups the selected element in the active graph [Ctrl+Shift+H]&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>Ungroups the selected element in the active graph [Ctrl+Alt+P]</string>
</property>
<property name="text">
<string>...</string>
@@ -83,7 +83,7 @@
<normaloff>:/GraphCanvasEditorResources/ungroup.svg</normaloff>:/GraphCanvasEditorResources/ungroup.svg</iconset>
</property>
<property name="shortcut">
<string>Ctrl+Shift+H</string>
<string>Ctrl+Alt+P</string>
</property>
</widget>
</item>