mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Skip script-setup if there are no parameters (and name is unique)
This commit is contained in:
parent
4b4d64dd7f
commit
8bb26628e3
3 changed files with 32 additions and 12 deletions
|
|
@ -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*);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue