mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-24 15:56:22 +00:00
Fixed: #1301 A temporary fix instead of the future of undo command delete landscape.
This commit is contained in:
parent
6d7e44d5a1
commit
16fb09e8ef
1 changed files with 2 additions and 0 deletions
|
@ -245,6 +245,8 @@ void LandscapeEditorWindow::deleteSelectedLand()
|
|||
|
||||
if (m_ui.landscapesListWidget->count() == 1)
|
||||
m_ui.deleteLandAction->setEnabled(false);
|
||||
|
||||
m_undoStack->clear();
|
||||
}
|
||||
|
||||
int LandscapeEditorWindow::createLandscape(const QString &fileName)
|
||||
|
|
Loading…
Reference in a new issue