diff options
author | Robin Gareus <robin@gareus.org> | 2015-08-11 14:43:00 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-08-11 15:38:31 +0200 |
commit | 6bb51a26eb83a520bf74355083a14413dfd6fb10 (patch) | |
tree | 6d20c630e919a939eace6add2187d8fa386d3149 /gtk2_ardour/engine_dialog.h | |
parent | 9bc85a553c542bc3bff108a066a1da9493078491 (diff) |
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.
Diffstat (limited to 'gtk2_ardour/engine_dialog.h')
-rw-r--r-- | gtk2_ardour/engine_dialog.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/engine_dialog.h b/gtk2_ardour/engine_dialog.h index 5e0eddd0f3..b656bcfd1c 100644 --- a/gtk2_ardour/engine_dialog.h +++ b/gtk2_ardour/engine_dialog.h @@ -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 (); |