13
0

handle failure to start audioengine correctly

git-svn-id: svn://localhost/ardour2/branches/3.0@13033 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-07-11 19:36:01 +00:00
parent 40d8d1d985
commit 70e8933151
2 changed files with 5 additions and 1 deletions

View File

@ -1053,6 +1053,7 @@ EngineControl::get_device_name (const string& driver, const string& human_readab
another computer system in it
*/
MessageDialog msg (_("You need to choose an audio device first."));
msg.set_position (WIN_POS_MOUSE);
msg.run ();
return string();
}

View File

@ -623,7 +623,10 @@ void
ArdourStartup::on_apply ()
{
if (engine_dialog) {
engine_dialog->setup_engine ();
if (engine_dialog->setup_engine ()) {
set_current_page (audio_page_index);
return;
}
}
if (config_modified) {