Fix session-open after selecting new, template, then back

This commit is contained in:
Robin Gareus 2017-08-24 02:08:32 +02:00
parent 5cffe7fa84
commit 08e564dc2e

View File

@ -265,6 +265,11 @@ SessionDialog::master_channel_count ()
bool
SessionDialog::use_session_template () const
{
if (!back_button->sensitive () && !new_only) {
/* open session -- not create a new one */
return false;
}
if (!load_template_override.empty()) {
return true;
}