1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Fix erase shortcut

This commit is contained in:
nordsoft
2023-03-06 00:54:52 +04:00
committed by Nordsoft91
parent c8afef3408
commit 1451614cf2
2 changed files with 3 additions and 1 deletions

View File

@@ -156,6 +156,8 @@ MainWindow::MainWindow(QWidget* parent) :
QDir::addSearchPath("icons", pathToQString(string / "mapeditor" / "icons"));
QDir::addSearchPath("icons", pathToQString(VCMIDirs::get().userDataPath() / "mapeditor" / "icons"));
new QShortcut(QKeySequence("Backspace"), this, SLOT(on_actionErase_triggered()));
ExtractionOptions extractionOptions;
parseCommandLine(extractionOptions);

View File

@@ -1096,7 +1096,7 @@
<string>Erase</string>
</property>
<property name="shortcut">
<string notr="true">Backspace, Del</string>
<string notr="true">Del</string>
</property>
</action>
<action name="actionNeutral">