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

--HG--
branch : gsoc2011-worldeditorqt
hg/feature/sse2
dnk-88 14 years ago
parent 14459c702f
commit e054d87d01

@ -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)

Loading…
Cancel
Save