mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
consolidate engine-dialog widget sensitivity logic.
Use a single function with the complete logic. Since the callgraph is complex, there is internal state as well as GUI state (different pages), do not rely on individual methods to get it right. A widget's sensitivity should only be controlled by one function.
This commit is contained in:
parent
9bc85a553c
commit
6bb51a26eb
2 changed files with 108 additions and 67 deletions
|
|
@ -292,6 +292,7 @@ class EngineControl : public ArdourDialog, public PBD::ScopedConnectionList {
|
|||
void manage_control_app_sensitivity ();
|
||||
int push_state_to_backend (bool start);
|
||||
void post_push ();
|
||||
void update_sensitivity ();
|
||||
|
||||
/* latency measurement */
|
||||
void latency_button_clicked ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue