mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Clear UndoStack when select a new file or project
This commit is contained in:
@@ -371,6 +371,7 @@ void MainWindow::newFile()
|
||||
{
|
||||
clearWindow();
|
||||
setCurrentFile("");
|
||||
undoStack->clear();
|
||||
}
|
||||
|
||||
// Restart video playback. XXX Hack
|
||||
|
||||
Reference in New Issue
Block a user