|
From: Tapio V. <aa...@us...> - 2011-02-09 15:47:05
|
Module: editor Branch: master Commit: 15a6b48ab55229cfd11cb6b94497fc20e65e4ecd Author: Tapio Vierros <tap...@gm...> Date: Wed Feb 9 17:37:19 2011 +0200 Reset unsaved changes state when calling new project. --- editorapp.cc | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/editorapp.cc b/editorapp.cc index f096ba8..3d8d6dd 100644 --- a/editorapp.cc +++ b/editorapp.cc @@ -240,6 +240,7 @@ void EditorApp::on_actionNew_triggered() statusbarProgress->hide(); ui.txtTitle->clear(); ui.txtArtist->clear(); ui.txtGenre->clear(); ui.txtYear->clear(); ui.valMusicFile->clear(); + hasUnsavedChanges = false; } updateMenuStates(); } |