diff options
author | Carl Hetherington <carl@carlh.net> | 2011-01-04 20:52:30 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-01-04 20:52:30 +0000 |
commit | 75b1f698a1d328e25a566fe591c673c421e5459c (patch) | |
tree | 7c30e90bcb896c182dee26679d51b3432566d4c3 /gtk2_ardour/option_editor.h | |
parent | 69aa1060509001750be9e1b39b521348d13befb8 (diff) |
Disable solo-controls-are-listen-controls if we don't have a monitor bus. Should fix #3660.
git-svn-id: svn://localhost/ardour2/branches/3.0@8436 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/option_editor.h')
-rw-r--r-- | gtk2_ardour/option_editor.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk2_ardour/option_editor.h b/gtk2_ardour/option_editor.h index 89a69dfe67..e3f8bf312d 100644 --- a/gtk2_ardour/option_editor.h +++ b/gtk2_ardour/option_editor.h @@ -152,6 +152,10 @@ public: void set_state_from_config (); void add_to_page (OptionEditorPage*); + void set_sensitive (bool yn) { + _button->set_sensitive (yn); + } + private: void toggled (); @@ -398,11 +402,12 @@ public: protected: + virtual void parameter_changed (std::string const &); + ARDOUR::Configuration* _config; private: - void parameter_changed (std::string const &); PBD::ScopedConnection config_connection; Gtk::Notebook _notebook; |