summaryrefslogtreecommitdiff
path: root/gtk2_ardour/option_editor.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-11-09 20:05:18 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-11-09 20:05:18 +0000
commit498dfebcca3b97cdd7b83444040042fe06626241 (patch)
tree09b397ba40679e67a1a265e6d227e39ee0b4b4da /gtk2_ardour/option_editor.h
parent8f508460903ef628a3f34ee60611b75ed4e1a734 (diff)
90% done with external sync design changes (GUI now has toggle switch for ext/int sync; source chosen separately, currently in ardour prefs dialog ; fix libmidi++ and compilation scripts to correctly build JACK+ALSA support; minor contiuing tweaks on transport stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@6048 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/option_editor.h')
-rw-r--r--gtk2_ardour/option_editor.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/option_editor.h b/gtk2_ardour/option_editor.h
index f5509c760c..3a5281af0c 100644
--- a/gtk2_ardour/option_editor.h
+++ b/gtk2_ardour/option_editor.h
@@ -231,6 +231,11 @@ public:
_combo->append_text (o);
}
+ void clear () {
+ _combo->clear_items();
+ _options.clear ();
+ }
+
void changed () {
uint32_t const r = _combo->get_active_row_number ();
if (r < _options.size()) {