mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-13 20:23:04 +02:00
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:
parent
4ab1ed7fc9
commit
6a669f1399
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user