summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_dropdown.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/ardour_dropdown.h')
-rw-r--r--gtk2_ardour/ardour_dropdown.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_dropdown.h b/gtk2_ardour/ardour_dropdown.h
index 7069768610..638f54c8b9 100644
--- a/gtk2_ardour/ardour_dropdown.h
+++ b/gtk2_ardour/ardour_dropdown.h
@@ -42,8 +42,12 @@ class ArdourDropdown : public ArdourButton
void clear_items ();
void AddMenuElem (Gtk::Menu_Helpers::Element e);
+ void disable_scrolling();
+
private:
Gtk::Menu _menu;
+
+ bool _scrolling_disabled;
};
#endif /* __gtk2_ardour_ardour_dropdown_h__ */