mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-09 11:27:56 -05:00
fix new map popup population issue
This commit is contained in:
parent
6041c46abf
commit
263e45fe20
|
|
@ -1269,6 +1269,7 @@ void MainWindow::openNewMapPopupWindow() {
|
|||
|
||||
void MainWindow::on_action_NewMap_triggered() {
|
||||
openNewMapPopupWindow();
|
||||
this->newMapPrompt->initUi();
|
||||
this->newMapPrompt->init();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -121,6 +121,7 @@ void NewMapPopup::init(MapSortOrder type, QVariant data) {
|
|||
|
||||
// Creating new map from AdvanceMap import
|
||||
void NewMapPopup::init(Layout *mapLayout) {
|
||||
initUi();
|
||||
this->importedMap = true;
|
||||
useLayoutSettings(mapLayout);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user