mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fix erase shortcut
This commit is contained in:
parent
c8afef3408
commit
1451614cf2
@ -156,6 +156,8 @@ MainWindow::MainWindow(QWidget* parent) :
|
|||||||
QDir::addSearchPath("icons", pathToQString(string / "mapeditor" / "icons"));
|
QDir::addSearchPath("icons", pathToQString(string / "mapeditor" / "icons"));
|
||||||
QDir::addSearchPath("icons", pathToQString(VCMIDirs::get().userDataPath() / "mapeditor" / "icons"));
|
QDir::addSearchPath("icons", pathToQString(VCMIDirs::get().userDataPath() / "mapeditor" / "icons"));
|
||||||
|
|
||||||
|
new QShortcut(QKeySequence("Backspace"), this, SLOT(on_actionErase_triggered()));
|
||||||
|
|
||||||
ExtractionOptions extractionOptions;
|
ExtractionOptions extractionOptions;
|
||||||
parseCommandLine(extractionOptions);
|
parseCommandLine(extractionOptions);
|
||||||
|
|
||||||
|
@ -1096,7 +1096,7 @@
|
|||||||
<string>Erase</string>
|
<string>Erase</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string notr="true">Backspace, Del</string>
|
<string notr="true">Del</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionNeutral">
|
<action name="actionNeutral">
|
||||||
|
Loading…
Reference in New Issue
Block a user