mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
reverse part of a previous change to session dialog
Back-button sensitive has a more complex semantic than the change took into account
This commit is contained in:
parent
6f506962a7
commit
b058356d1e
1 changed files with 2 additions and 2 deletions
|
|
@ -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->signal_button_press_event().connect (sigc::mem_fun (*this, &SessionDialog::open_button_pressed), false);
|
||||||
|
|
||||||
open_button->set_sensitive (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
|
/* this is where announcements will be displayed, but it may be empty
|
||||||
* and invisible most of the time.
|
* and invisible most of the time.
|
||||||
|
|
@ -250,7 +250,7 @@ SessionDialog::master_channel_count ()
|
||||||
bool
|
bool
|
||||||
SessionDialog::use_session_template () const
|
SessionDialog::use_session_template () const
|
||||||
{
|
{
|
||||||
if (!back_button->sensitive ()) {
|
if (!back_button->sensitive () && !new_only) {
|
||||||
/* open session -- not create a new one */
|
/* open session -- not create a new one */
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue