Skip to content

Commit

Permalink
Try to fix bug #303
Browse files Browse the repository at this point in the history
  • Loading branch information
scorpio810 committed May 8, 2024
1 parent 5492cd3 commit c7d6312
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions sources/editor/ui/qetelementeditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions sources/editor/ui/qetelementeditor.ui
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down Expand Up @@ -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">
Expand Down

0 comments on commit c7d6312

Please sign in to comment.