summaryrefslogtreecommitdiffstats
path: root/src/gui/PatchBox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/PatchBox.cpp')
-rw-r--r--src/gui/PatchBox.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/gui/PatchBox.cpp b/src/gui/PatchBox.cpp
index 11921fa6..820c2a7b 100644
--- a/src/gui/PatchBox.cpp
+++ b/src/gui/PatchBox.cpp
@@ -77,7 +77,6 @@ PatchBox::PatchBox(BaseObjectType* cobject,
xml->get_widget("patch_save_menuitem", _menu_save);
xml->get_widget("patch_save_as_menuitem", _menu_save_as);
xml->get_widget("patch_draw_menuitem", _menu_draw);
- xml->get_widget("patch_edit_controls_menuitem", _menu_edit_controls);
xml->get_widget("patch_cut_menuitem", _menu_cut);
xml->get_widget("patch_copy_menuitem", _menu_copy);
xml->get_widget("patch_paste_menuitem", _menu_paste);
@@ -111,8 +110,6 @@ PatchBox::PatchBox(BaseObjectType* cobject,
sigc::mem_fun(this, &PatchBox::event_save_as));
_menu_draw->signal_activate().connect(
sigc::mem_fun(this, &PatchBox::event_draw));
- _menu_edit_controls->signal_activate().connect(
- sigc::mem_fun(this, &PatchBox::event_edit_controls));
_menu_copy->signal_activate().connect(
sigc::mem_fun(this, &PatchBox::event_copy));
_menu_paste->signal_activate().connect(
@@ -273,8 +270,6 @@ PatchBox::set_patch(SharedPtr<const PatchModel> patch,
sigc::mem_fun(this, &PatchBox::patch_port_added));
removed_port_connection = patch->signal_removed_port().connect(
sigc::mem_fun(this, &PatchBox::patch_port_removed));
- removed_port_connection = patch->signal_editable().connect(
- sigc::mem_fun(this, &PatchBox::editable_changed));
show();
_alignment->show_all();
@@ -400,12 +395,6 @@ PatchBox::object_left(const ObjectModel* model)
}
void
-PatchBox::editable_changed(bool editable)
-{
- _menu_edit_controls->set_active(editable);
-}
-
-void
PatchBox::event_show_engine()
{
if (_patch)
@@ -606,13 +595,6 @@ PatchBox::event_draw()
}
void
-PatchBox::event_edit_controls()
-{
- if (_view)
- _view->set_editable(_menu_edit_controls->get_active());
-}
-
-void
PatchBox::event_copy()
{
if (_view)