diff --git a/gtk2_ardour/luainstance.cc b/gtk2_ardour/luainstance.cc index f2c5fe0966..9e657efbc0 100644 --- a/gtk2_ardour/luainstance.cc +++ b/gtk2_ardour/luainstance.cc @@ -1612,7 +1612,7 @@ LuaInstance::interactive_add (Gtk::Window& parent, LuaScriptInfo::ScriptType typ ScriptParameterDialog spd (_("Set Script Parameters"), spi, reg, lsp); - if (spd.need_interation ()) { + if (spd.need_interaction ()) { switch (spd.run ()) { case Gtk::RESPONSE_ACCEPT: break; diff --git a/gtk2_ardour/script_selector.cc b/gtk2_ardour/script_selector.cc index c915010aa2..6d7bb65db8 100644 --- a/gtk2_ardour/script_selector.cc +++ b/gtk2_ardour/script_selector.cc @@ -258,7 +258,7 @@ ScriptParameterDialog::ScriptParameterDialog (std::string title, } bool -ScriptParameterDialog::need_interation () const +ScriptParameterDialog::need_interaction () const { if (!parameters_ok ()) { return true; diff --git a/gtk2_ardour/script_selector.h b/gtk2_ardour/script_selector.h index f491b7a2d8..8778ee5427 100644 --- a/gtk2_ardour/script_selector.h +++ b/gtk2_ardour/script_selector.h @@ -66,7 +66,7 @@ class ScriptParameterDialog : public ArdourDialog public: ScriptParameterDialog (std::string title, const ARDOUR::LuaScriptInfoPtr&, const std::vector&, ARDOUR::LuaScriptParamList&); std::string name () { return _name_entry.get_text (); } - bool need_interation () const; + bool need_interaction () const; private: void update_sensitivity ();