Fix previous workaround

Because strange behaviour with Qt::key_space if used for keyPressEvent
and also in shortcut.
Now the shortcut for the rotate action is ctrl + R and key_space to
rotate terminal on the fly before placing it in the drawing.
This commit is contained in:
Laurent Trinques 2022-05-25 13:47:22 +02:00
parent 4ab1ed7fc9
commit 6a669f1399

View File

@ -1000,6 +1000,7 @@ void QETElementEditor::setupActions()
ui->m_paste_in_area_action -> setShortcut(tr("Ctrl+Shift+V"));
ui->m_edit_names_action -> setShortcut(QKeySequence(tr("Ctrl+E")));
ui->m_edit_author_action -> setShortcut(tr("Ctrl+Y"));
ui->m_rotate_action -> setShortcut(QKeySequence(tr("Ctrl+R")));
#ifndef Q_OS_MAC
ui->m_delete_action -> setShortcut(QKeySequence(Qt::Key_Delete));