From c7d6312997ffec15766cf8446e50ec226206a21f Mon Sep 17 00:00:00 2001 From: Laurent Trinques Date: Wed, 8 May 2024 19:18:48 +0200 Subject: [PATCH] Try to fix bug #303 --- sources/editor/ui/qetelementeditor.cpp | 2 ++ sources/editor/ui/qetelementeditor.ui | 7 +++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/sources/editor/ui/qetelementeditor.cpp b/sources/editor/ui/qetelementeditor.cpp index 684a5ca48..4c544f5bf 100644 --- a/sources/editor/ui/qetelementeditor.cpp +++ b/sources/editor/ui/qetelementeditor.cpp @@ -1010,8 +1010,10 @@ void QETElementEditor::setupActions() #ifndef Q_OS_MAC ui->m_delete_action -> setShortcut(QKeySequence(Qt::Key_Delete)); + ui->m_quit_action -> setShortcut(QKeySequence(tr("Ctrl+Q"))); #else ui->m_delete_action -> setShortcut(QKeySequence(tr("Backspace"))); + ui->m_quit_action -> setShortcut(QKeySequence(tr("Ctrl+W"))); #endif //Depth action diff --git a/sources/editor/ui/qetelementeditor.ui b/sources/editor/ui/qetelementeditor.ui index 2c650052d..ef99d1683 100644 --- a/sources/editor/ui/qetelementeditor.ui +++ b/sources/editor/ui/qetelementeditor.ui @@ -25,7 +25,7 @@ 0 0 800 - 21 + 33 @@ -283,7 +283,10 @@ :/ico/16x16/application-exit.png:/ico/16x16/application-exit.png - &Quitter + &Fermer cet éditeur + + + Fermer cet éditeur