Fixed: #1301 A temporary fix instead of the future of undo command delete landscape.

This commit is contained in:
dnk-88 2011-07-13 04:49:09 +03:00
parent ae5e090d5a
commit 97bfc60c6b

View file

@ -245,6 +245,8 @@ void LandscapeEditorWindow::deleteSelectedLand()
if (m_ui.landscapesListWidget->count() == 1) if (m_ui.landscapesListWidget->count() == 1)
m_ui.deleteLandAction->setEnabled(false); m_ui.deleteLandAction->setEnabled(false);
m_undoStack->clear();
} }
int LandscapeEditorWindow::createLandscape(const QString &fileName) int LandscapeEditorWindow::createLandscape(const QString &fileName)