diff --git a/mapeditor/mainwindow.cpp b/mapeditor/mainwindow.cpp index 948f821d0..7e2d8ff12 100644 --- a/mapeditor/mainwindow.cpp +++ b/mapeditor/mainwindow.cpp @@ -226,6 +226,7 @@ MainWindow::MainWindow(QWidget* parent) : ui->toolSelect->setIcon(QIcon{":/icons/tool-select.png"}); ui->actionOpen->setIcon(QIcon{":/icons/document-open.png"}); ui->actionOpenRecent->setIcon(QIcon{":/icons/document-open-recent.png"}); + ui->menuOpenRecent->setIcon(QIcon{":/icons/document-open-recent.png"}); ui->actionSave->setIcon(QIcon{":/icons/document-save.png"}); ui->actionNew->setIcon(QIcon{":/icons/document-new.png"}); ui->actionLevel->setIcon(QIcon{":/icons/toggle-underground.png"}); @@ -493,6 +494,11 @@ void MainWindow::on_actionOpenRecent_triggered() d.exec(); } +void MainWindow::on_actionOpenRecentMore_triggered() +{ + on_actionOpenRecent_triggered(); +} + void MainWindow::saveMap() { if(!controller.map()) diff --git a/mapeditor/mainwindow.h b/mapeditor/mainwindow.h index a0d4f3721..7c3a8b2f3 100644 --- a/mapeditor/mainwindow.h +++ b/mapeditor/mainwindow.h @@ -62,6 +62,8 @@ private slots: void on_actionOpenRecent_triggered(); + void on_actionOpenRecentMore_triggered(); + void on_actionSave_as_triggered(); void on_actionNew_triggered(); diff --git a/mapeditor/mainwindow.ui b/mapeditor/mainwindow.ui index 6f88170e2..5a3e6b94c 100644 --- a/mapeditor/mainwindow.ui +++ b/mapeditor/mainwindow.ui @@ -58,9 +58,15 @@ File + + + Open Recent + + + - + @@ -1025,10 +1031,15 @@ Open Recent + + + + More... + Ctrl+R - + Save