mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Prefer testing the session instead of using a global variable
This commit is contained in:
parent
bf874562ef
commit
4dc65e6613
5 changed files with 4 additions and 14 deletions
|
|
@ -983,7 +983,7 @@ Editor::set_entered_track (TimeAxisView* tav)
|
|||
void
|
||||
Editor::instant_save ()
|
||||
{
|
||||
if (!constructed || !ARDOUR_UI::instance()->session_loaded || no_save_instant) {
|
||||
if (!constructed || no_save_instant) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue