diff options
author | Robin Gareus <robin@gareus.org> | 2017-04-26 19:45:03 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-04-26 19:45:22 +0200 |
commit | 8bb26628e392429c8a868af3d92cb79ee52a0fc7 (patch) | |
tree | 7ee94fa43887a69c4adb6e02dae72f8e9a656bf8 /gtk2_ardour/script_selector.h | |
parent | 4b4d64dd7fd1cf01495f0828cc6250f722a45f70 (diff) |
Skip script-setup if there are no parameters (and name is unique)
Diffstat (limited to 'gtk2_ardour/script_selector.h')
-rw-r--r-- | gtk2_ardour/script_selector.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/script_selector.h b/gtk2_ardour/script_selector.h index b249cfe273..e7285807f7 100644 --- a/gtk2_ardour/script_selector.h +++ b/gtk2_ardour/script_selector.h @@ -60,9 +60,11 @@ class ScriptParameterDialog : public ArdourDialog public: ScriptParameterDialog (std::string title, const ARDOUR::LuaScriptInfoPtr&, const std::vector<std::string>&, ARDOUR::LuaScriptParamList&); std::string name () { return _name_entry.get_text (); } + bool need_interation () const; private: void update_sensitivity (); + bool parameters_ok () const; void active_changed (int, Gtk::CheckButton*, Gtk::Entry*); void value_changed (int, Gtk::Entry*); |