unfinished fix for handling desktop/NSM specifying session to load

More work needed to fix requirement in StartupFSM that ::load_from_application_api()
is called before ::start()
This commit is contained in:
Paul Davis 2020-03-01 21:35:44 -07:00
parent 6edccc78a2
commit 8d6f6266d2
3 changed files with 88 additions and 0 deletions

View file

@ -907,3 +907,11 @@ Full information on all the above can be found on the support page at\n\
pre_release_dialog->set_position (WIN_POS_CENTER);
pre_release_dialog->present ();
}
void
StartupFSM::handle_path (string const & path)
{
if (get_session_parameters_from_path (path, string(), false)) {
_signal_response (LoadSession);
}
}