diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2019-07-18 13:35:27 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2019-07-18 13:39:56 -0600 |
commit | b058356d1e516014704cb3a9d2b11a28ae78f2db (patch) | |
tree | af315255fa37d29b82edbe776cbbdabf32fa0f24 /gtk2_ardour | |
parent | 6f506962a7f44c74215d0f0830cb5da9038c10c7 (diff) |
reverse part of a previous change to session dialog
Back-button sensitive has a more complex semantic than the change
took into account
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/session_dialog.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/session_dialog.cc b/gtk2_ardour/session_dialog.cc index 810817e853..2569219067 100644 --- a/gtk2_ardour/session_dialog.cc +++ b/gtk2_ardour/session_dialog.cc @@ -93,7 +93,7 @@ SessionDialog::SessionDialog (bool require_new, const std::string& session_name, open_button->signal_button_press_event().connect (sigc::mem_fun (*this, &SessionDialog::open_button_pressed), false); open_button->set_sensitive (false); - back_button->set_sensitive (!require_new); + back_button->set_sensitive (false); /* this is where announcements will be displayed, but it may be empty * and invisible most of the time. @@ -250,7 +250,7 @@ SessionDialog::master_channel_count () bool SessionDialog::use_session_template () const { - if (!back_button->sensitive ()) { + if (!back_button->sensitive () && !new_only) { /* open session -- not create a new one */ return false; } |