FIX: shortcut for rotation in element-editor was hardcoded in UI

This commit is contained in:
plc-user 2025-02-12 15:35:45 +01:00
parent 516eb9eb45
commit 3d82aff4e7
2 changed files with 1 additions and 3 deletions

View File

@ -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

View File

@ -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">