fix unloaded blockdata when creating new map from layout
This commit is contained in:
parent
c2a033e3fe
commit
5ffd6d84e4
1 changed files with 1 additions and 0 deletions
|
@ -154,6 +154,7 @@ void NewMapPopup::on_pushButton_NewMap_Accept_clicked() {
|
|||
group = this->ui->comboBox_NewMap_Group->currentText().remove("gMapGroup").toInt();
|
||||
newMap->layout = layout;
|
||||
newMap->layoutId = layout->id;
|
||||
project->loadMapLayout(newMap);
|
||||
newMap->group_num = QString::number(group);
|
||||
map = newMap;
|
||||
emit applied();
|
||||
|
|
Loading…
Reference in a new issue