mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Remove previous fix attempt at restoring state for backends with driver selection
The fix does not work properly anymore for the Portaudio backend and needs fixing in another manner. It will now be temporarily back to the broken state it was in before the "fix".
This commit is contained in:
parent
eaf5ed2b18
commit
1bea87e10a
1 changed files with 0 additions and 10 deletions
|
|
@ -1817,16 +1817,6 @@ EngineControl::set_current_state (const State& state)
|
|||
DEBUG_ECONTROL ("set_current_state");
|
||||
PBD::Unwinder<uint32_t> protect_ignore_changes (ignore_changes, ignore_changes + 1);
|
||||
backend_combo.set_active_text (state->backend);
|
||||
|
||||
/* The driver popdown strings need to be populated now so that
|
||||
* set_active_text will actually set a valid entry. Then
|
||||
* backend_changed() will populate all the other combo's so they
|
||||
* can also be set to valid entries and the state will be restored
|
||||
* correctly.
|
||||
*/
|
||||
if (!state->driver.empty()) {
|
||||
set_driver_popdown_strings ();
|
||||
}
|
||||
driver_combo.set_active_text (state->driver);
|
||||
backend_changed ();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue