mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-13 20:23:04 +02:00
FIX: shortcut for rotation in element-editor was hardcoded in UI
This commit is contained in:
parent
516eb9eb45
commit
3d82aff4e7
@ -996,6 +996,7 @@ void QETElementEditor::setupActions()
|
||||
addToolBar(Qt::TopToolBarArea, depth_toolbar);
|
||||
|
||||
//Rotate action
|
||||
ui->m_rotate_action -> setShortcut(Qt::Key_Space);
|
||||
connect(ui->m_rotate_action, &QAction::triggered, [this]() {this -> elementScene() -> undoStack().push(new RotateElementsCommand(this->elementScene()));});
|
||||
|
||||
//Zoom action
|
||||
|
@ -492,9 +492,6 @@
|
||||
<property name="text">
|
||||
<string>Rotation</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Space</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="m_import_dxf">
|
||||
<property name="icon">
|
||||
|
Loading…
x
Reference in New Issue
Block a user