From 37a8af72ee0a9899f2728edca62e84e3045f268c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 9 Oct 2008 04:03:32 +0000 Subject: Don't add copies of every plugin each time menu is shown (testing FTW) (fix ticket #227). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1630 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/PatchCanvas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp index 2a7eaa30..91c8a926 100644 --- a/src/gui/PatchCanvas.cpp +++ b/src/gui/PatchCanvas.cpp @@ -142,7 +142,7 @@ PatchCanvas::PatchCanvas(SharedPtr patch, int width, int height) void PatchCanvas::show_menu(GdkEvent* event) { - if (!_internal_menu || !_classless_menu || !_plugin_menu || _refresh_menu) + if (!_internal_menu) build_menus(); _menu->popup(event->button.button, event->button.time); -- cgit v1.2.1