From 01bb74bf8c46704becc1b797d8dd16085ca4ce6b Mon Sep 17 00:00:00 2001 From: garak Date: Sat, 6 Apr 2019 00:20:57 -0400 Subject: [PATCH] draw map icons for all maps in project --- src/mainwindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 6e7c091b..fe8e3359 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1024,8 +1024,7 @@ void MainWindow::drawMapListIcons(QAbstractItemModel *model) { } void MainWindow::updateMapList() { - QAbstractItemModel *model = ui->mapList->model(); - drawMapListIcons(model); + drawMapListIcons(mapListModel); } void MainWindow::on_action_Save_Project_triggered()