|
@@ -269,6 +269,8 @@ MainWindow::MainWindow(QWidget* parent) :
|
|
|
scenePreview = new QGraphicsScene(this);
|
|
|
ui->objectPreview->setScene(scenePreview);
|
|
|
|
|
|
+ connect(ui->actionOpenRecentMore, &QAction::triggered, this, &MainWindow::on_actionOpenRecent_triggered);
|
|
|
+
|
|
|
//loading objects
|
|
|
loadObjectsTree();
|
|
|
|
|
@@ -524,11 +526,6 @@ void MainWindow::on_menuOpenRecent_aboutToShow()
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-void MainWindow::on_actionOpenRecentMore_triggered()
|
|
|
-{
|
|
|
- on_actionOpenRecent_triggered();
|
|
|
-}
|
|
|
-
|
|
|
void MainWindow::saveMap()
|
|
|
{
|
|
|
if(!controller.map())
|