mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Fix state restoration in EngineControl dialog for backends with driver selection
This also prevents backend_changed from being called more that once in the EngineControl ctor
This commit is contained in:
parent
c165c991ca
commit
ab7cf8c7a7
2 changed files with 100 additions and 24 deletions
|
|
@ -46,7 +46,7 @@ class EngineControl : public ArdourDialog, public PBD::ScopedConnectionList {
|
|||
static bool need_setup ();
|
||||
|
||||
XMLNode& get_state ();
|
||||
void set_state (const XMLNode&);
|
||||
bool set_state (const XMLNode&);
|
||||
|
||||
void set_desired_sample_rate (uint32_t);
|
||||
|
||||
|
|
@ -237,7 +237,8 @@ class EngineControl : public ArdourDialog, public PBD::ScopedConnectionList {
|
|||
void store_state (State);
|
||||
bool equivalent_states (const State&, const State&);
|
||||
|
||||
void set_current_state (const State& state);
|
||||
bool set_current_state (const State& state);
|
||||
void set_default_state ();
|
||||
|
||||
bool _have_control;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue