Use the LiveTrax tabbed session dialog

This commit is contained in:
Ben Loftis 2024-12-02 14:30:10 -06:00 committed by Robin Gareus
parent 3bfc8c1d4d
commit 524073d855
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
4 changed files with 419 additions and 399 deletions

View file

@ -437,7 +437,7 @@ void
StartupFSM::show_session_dialog (bool new_session_required)
{
set_state (WaitingForSessionPath);
session_dialog = new SessionDialog (new_session_required, session_name, session_path, session_template, false);
session_dialog = new SessionDialog (new_session_required ? SessionDialog::New : SessionDialog::Recent, session_name, session_path, session_template, false);
current_dialog_connection = session_dialog->signal_response().connect (sigc::bind (sigc::mem_fun (*this, &StartupFSM::dialog_response_handler), NewSessionDialog));
session_dialog->set_position (WIN_POS_CENTER);
session_dialog->present ();