fix new map popup population issue
This commit is contained in:
parent
6041c46abf
commit
263e45fe20
2 changed files with 2 additions and 0 deletions
|
@ -1269,6 +1269,7 @@ void MainWindow::openNewMapPopupWindow() {
|
||||||
|
|
||||||
void MainWindow::on_action_NewMap_triggered() {
|
void MainWindow::on_action_NewMap_triggered() {
|
||||||
openNewMapPopupWindow();
|
openNewMapPopupWindow();
|
||||||
|
this->newMapPrompt->initUi();
|
||||||
this->newMapPrompt->init();
|
this->newMapPrompt->init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -121,6 +121,7 @@ void NewMapPopup::init(MapSortOrder type, QVariant data) {
|
||||||
|
|
||||||
// Creating new map from AdvanceMap import
|
// Creating new map from AdvanceMap import
|
||||||
void NewMapPopup::init(Layout *mapLayout) {
|
void NewMapPopup::init(Layout *mapLayout) {
|
||||||
|
initUi();
|
||||||
this->importedMap = true;
|
this->importedMap = true;
|
||||||
useLayoutSettings(mapLayout);
|
useLayoutSettings(mapLayout);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue