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:
parent
40d8d1d985
commit
70e8933151
@ -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();
|
||||
}
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user