Try to fix bug #303

This commit is contained in:
Laurent Trinques
2024-05-08 19:18:48 +02:00
parent 5492cd3f71
commit c7d6312997
2 changed files with 7 additions and 2 deletions

View File

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

View File

@@ -25,7 +25,7 @@
<x>0</x>
<y>0</y>
<width>800</width>
<height>21</height>
<height>33</height>
</rect>
</property>
<widget class="QMenu" name="m_file_menu">
@@ -283,7 +283,10 @@
<normaloff>:/ico/16x16/application-exit.png</normaloff>:/ico/16x16/application-exit.png</iconset>
</property>
<property name="text">
<string>&amp;Quitter</string>
<string>&amp;Fermer cet éditeur</string>
</property>
<property name="toolTip">
<string>Fermer cet éditeur</string>
</property>
</action>
<action name="m_deselect_all_action">