summaryrefslogtreecommitdiff
path: root/gtk2_ardour/plugin_selector.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-03-19 18:13:37 +0100
committerRobin Gareus <robin@gareus.org>2018-03-19 18:13:37 +0100
commitefbfbb8330b06c6b2d9253c87e270bb708c5fd10 (patch)
treeb966c829d7efdb2df258b5616fa305caebf6e20c /gtk2_ardour/plugin_selector.h
parentecb6e7fcfe2ea4637824408dd5134592a49a36cb (diff)
Speed up plugin-selector refill.
* Detach model from treeview and disable sorting during refill. * Prevent multiple re-fills due to sensitivity updates of ComboBoxes: gtk_widget_set_sensitive() -> CairoWidget::on_state_changed () -> CairoWidget::set_visual_state () -> StateChanged Signal
Diffstat (limited to 'gtk2_ardour/plugin_selector.h')
-rw-r--r--gtk2_ardour/plugin_selector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/plugin_selector.h b/gtk2_ardour/plugin_selector.h
index bba22950ba..e80d880747 100644
--- a/gtk2_ardour/plugin_selector.h
+++ b/gtk2_ardour/plugin_selector.h
@@ -189,7 +189,7 @@ private:
bool _need_status_save;
bool _need_menu_rebuild;
- bool inhibit_refill;
+ bool _inhibit_refill;
};
#endif // __ardour_plugin_selector_h__