diff options
author | Robert Jonsson <spamatica@gmail.com> | 2011-02-18 08:47:25 +0000 |
---|---|---|
committer | Robert Jonsson <spamatica@gmail.com> | 2011-02-18 08:47:25 +0000 |
commit | cd2b45a71582e6480eeef33540b27586d3b3ca73 (patch) | |
tree | 1e900d718b7480d5f6d6d1981227a128fbc5408f /muse2/muse/song.cpp | |
parent | c9f1ce13e1d785191b112d5ef0291cb93f5a6393 (diff) |
don't show save dialog when project dialog isn't enabled
Diffstat (limited to 'muse2/muse/song.cpp')
-rw-r--r-- | muse2/muse/song.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/muse2/muse/song.cpp b/muse2/muse/song.cpp index 42c9ce77..6b9c7e09 100644 --- a/muse2/muse/song.cpp +++ b/muse2/muse/song.cpp @@ -1076,7 +1076,7 @@ void Song::setRecord(bool f, bool autoRecEnable) if(debugMsg) printf("setRecord recordflag =%d f(record state)=%d autoRecEnable=%d\n", recordFlag, f, autoRecEnable); - if (f && museProject == museProjectInitPath ) { // check that there is a project stored before commencing + if (f && config.useProjectSaveDialog && museProject == museProjectInitPath ) { // check that there is a project stored before commencing // no project, we need to create one. if (!muse->saveAs()) return; // could not store project, won't enable record |