Mercurial > hg > svapp
comparison framework/MainWindowBase.cpp @ 359:1f2a4ad79967 tonioni
Introduce a new canSaveAs which is active whenever there is a main model; avoid silently overwriting existing session file when saving to audio path
author | Chris Cannam |
---|---|
date | Fri, 13 Jun 2014 10:37:04 +0100 |
parents | 2da91cceed64 |
children | 88bf6cc73275 |
comparison
equal
deleted
inserted
replaced
358:2da91cceed64 | 359:1f2a4ad79967 |
---|---|
526 emit canRenumberInstants(haveCurrentTimeInstantsLayer && haveSelection); | 526 emit canRenumberInstants(haveCurrentTimeInstantsLayer && haveSelection); |
527 emit canPlaySelection(haveMainModel && havePlayTarget && haveSelection); | 527 emit canPlaySelection(haveMainModel && havePlayTarget && haveSelection); |
528 emit canClearSelection(haveSelection); | 528 emit canClearSelection(haveSelection); |
529 emit canEditSelection(haveSelection && haveCurrentEditableLayer); | 529 emit canEditSelection(haveSelection && haveCurrentEditableLayer); |
530 emit canSave(m_sessionFile != "" && m_documentModified); | 530 emit canSave(m_sessionFile != "" && m_documentModified); |
531 emit canSaveAs(haveMainModel); | |
531 emit canSelectPreviousPane(havePrevPane); | 532 emit canSelectPreviousPane(havePrevPane); |
532 emit canSelectNextPane(haveNextPane); | 533 emit canSelectNextPane(haveNextPane); |
533 emit canSelectPreviousLayer(havePrevLayer); | 534 emit canSelectPreviousLayer(havePrevLayer); |
534 emit canSelectNextLayer(haveNextLayer); | 535 emit canSelectNextLayer(haveNextLayer); |
535 } | 536 } |