Change hotkey 'Tab' to 'E'

The Tab key conflicts with system's hot key. Now, should use 'E' to switch the selection from one color to the other.
master
Jeremy Hu 2018-09-19 00:04:23 +08:00
parent 7341259a48
commit f163522aa2
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ Keyboard
+----------------------+--------------------------------------------------------------------------+ +----------------------+--------------------------------------------------------------------------+
| W | Toggle Part Wrap Status: (W)rap using Convex hull/Normal | | W | Toggle Part Wrap Status: (W)rap using Convex hull/Normal |
+----------------------+--------------------------------------------------------------------------+ +----------------------+--------------------------------------------------------------------------+
| TAB | Swith the Selected Nodes to Different Profile (Main / Side) | | E | Swith the Selected Nodes to Different Profile (Main / Side) |
+----------------------+--------------------------------------------------------------------------+ +----------------------+--------------------------------------------------------------------------+
Mouse Mouse

View File

@ -1516,7 +1516,7 @@ bool SkeletonGraphicsWidget::keyPress(QKeyEvent *event)
emit groupOperationAdded(); emit groupOperationAdded();
return true; return true;
} }
} else if (event->key() == Qt::Key_Tab) { } else if (event->key() == Qt::Key_E) {
if (SkeletonDocumentEditMode::Select == m_document->editMode && hasSelection()) { if (SkeletonDocumentEditMode::Select == m_document->editMode && hasSelection()) {
switchProfileOnRangeSelection(); switchProfileOnRangeSelection();
return true; return true;