summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-09 04:03:32 +0000
committerDavid Robillard <d@drobilla.net>2008-10-09 04:03:32 +0000
commit37a8af72ee0a9899f2728edca62e84e3045f268c (patch)
treecd8871d9a8871f3a227f67e7f71ad9eef44238bc /src/gui
parent3898c80765f00d364c2cab73879e9ffcd05ce4e0 (diff)
downloadingen-37a8af72ee0a9899f2728edca62e84e3045f268c.tar.gz
ingen-37a8af72ee0a9899f2728edca62e84e3045f268c.tar.bz2
ingen-37a8af72ee0a9899f2728edca62e84e3045f268c.zip
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
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/PatchCanvas.cpp2
1 files changed, 1 insertions, 1 deletions
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<PatchModel> 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);