mirror of
https://github.com/huderlem/porymap.git
synced 2026-09-08 00:45:39 -05:00
Replace various map constant arrays with data stored in Map objects
This commit is contained in:
@@ -1384,7 +1384,7 @@ void MainWindow::openNewMapDialog() {
|
||||
}
|
||||
|
||||
void MainWindow::openDuplicateMapDialog(const QString &mapName) {
|
||||
const Map *map = this->editor->project->getMap(mapName);
|
||||
const Map *map = this->editor->project->loadMap(mapName);
|
||||
if (map) {
|
||||
auto dialog = new NewMapDialog(this->editor->project, map, this);
|
||||
dialog->open();
|
||||
|
||||
Reference in New Issue
Block a user