13
0

do not allow NSD to quit ardour if the user presses "Quit" with a session already loaded

git-svn-id: svn://localhost/ardour2/trunk@1064 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2006-11-03 02:25:04 +00:00
parent 1b2ecaee84
commit c6468d181f
3 changed files with 6 additions and 3 deletions

View File

@ -1619,7 +1619,10 @@ ARDOUR_UI::new_session (bool startup, std::string predetermined_path)
if (response == Gtk::RESPONSE_CANCEL || response == Gtk::RESPONSE_DELETE_EVENT) {
quit();
if (!session) {
quit();
}
new_session_dialog->hide ();
return;
} else if (response == Gtk::RESPONSE_NONE) {

View File

@ -49,7 +49,7 @@ Editor::cms_deleted ()
void
Editor::show_editor_mixer (bool yn)
{
show_editor_mixer_when_tracks_arrive = true;
show_editor_mixer_when_tracks_arrive = false;
if (yn) {

View File

@ -322,7 +322,7 @@ OptionEditor::destructo_xfade_adjustment_changed ()
Config->set_destructive_xfade_msecs ((uint32_t) floor (val));
if (session) {
DestructiveFileSource::setup_standard_crossfades (session->frame_rate());
SndFileSource::setup_standard_crossfades (session->frame_rate());
}
}