Skip to content

Commit

Permalink
initialize variable
Browse files Browse the repository at this point in the history
Without this, loading a session from the command line bypasses any initialization of session_loaded
and after the changes in 0a72c13 that leads to incorrect startup
  • Loading branch information
pauldavisthefirst committed Feb 20, 2024
1 parent 01489a6 commit c35515e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gtk2_ardour/startup_fsm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ StartupFSM::StartupFSM (EngineControl& amd)
, session_engine_hints ("EngineHints")
, session_is_new (false)
, session_name_edited (false)
, session_loaded (false)
, new_user (NewUserWizard::required())
, new_session_required (ARDOUR_COMMAND_LINE::new_session || (!ARDOUR::Profile->get_mixbus() && new_user))
, _state (new_user ? WaitingForNewUser : WaitingForSessionPath)
Expand Down

0 comments on commit c35515e

Please sign in to comment.