summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/PatchCanvas.cpp3
-rw-r--r--src/gui/PatchCanvas.hpp1
2 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp
index 6673c1d3..9b9c466b 100644
--- a/src/gui/PatchCanvas.cpp
+++ b/src/gui/PatchCanvas.cpp
@@ -61,7 +61,6 @@ PatchCanvas::PatchCanvas(SharedPtr<PatchModel> patch, int width, int height)
, _last_click_x(0)
, _last_click_y(0)
, _paste_count(0)
- , _refresh_menu(false)
, _human_names(true)
, _show_port_names(true)
, _menu(NULL)
@@ -347,8 +346,6 @@ PatchCanvas::add_plugin(SharedPtr<PluginModel> p)
_classless_menu->show();
}
}
-
- _refresh_menu = true; // Refresh next time on show
}
diff --git a/src/gui/PatchCanvas.hpp b/src/gui/PatchCanvas.hpp
index 139b7582..d3b55936 100644
--- a/src/gui/PatchCanvas.hpp
+++ b/src/gui/PatchCanvas.hpp
@@ -141,7 +141,6 @@ private:
typedef std::multimap<const std::string, Gtk::Menu*> ClassMenus;
ClassMenus _class_menus;
- bool _refresh_menu;
bool _human_names;
bool _show_port_names;
Gtk::Menu* _menu;