summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/NodeModule.cpp9
-rw-r--r--src/gui/PatchCanvas.cpp4
-rw-r--r--src/gui/PatchPortModule.cpp9
3 files changed, 0 insertions, 22 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp
index 03a56df1..ad3f23bb 100644
--- a/src/gui/NodeModule.cpp
+++ b/src/gui/NodeModule.cpp
@@ -396,10 +396,6 @@ NodeModule::property_changed(const URI& key, const Atom& value)
} else if (value.type() == uris.forge.Bool) {
if (key == uris.ingen_polyphonic) {
set_stacked(value.get_bool());
- } else if (key == uris.ingen_selected) {
- if (value.get_bool() != get_selected()) {
- set_selected(value.get_bool());
- }
} else if (key == uris.ingen_uiEmbedded) {
if (value.get_bool() && !_gui_widget) {
embed_gui(true);
@@ -436,11 +432,6 @@ NodeModule::set_selected(gboolean b)
}
}
}
- if (app().signal()) {
- app().interface()->set_property(_node->path(),
- uris.ingen_selected,
- app().forge().make(b));
- }
}
}
diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp
index 640051cb..587928a6 100644
--- a/src/gui/PatchCanvas.cpp
+++ b/src/gui/PatchCanvas.cpp
@@ -757,10 +757,6 @@ PatchCanvas::paste()
y->second = _app.forge().make(
y->second.get_float() + (20.0f * _paste_count));
- if (i->first.parent().is_root())
- i->second->set_property(uris.ingen_selected,
- _app.forge().make(true));
-
builder.build(i->second);
}
diff --git a/src/gui/PatchPortModule.cpp b/src/gui/PatchPortModule.cpp
index 5ea90f55..e716a12d 100644
--- a/src/gui/PatchPortModule.cpp
+++ b/src/gui/PatchPortModule.cpp
@@ -152,10 +152,6 @@ PatchPortModule::property_changed(const URI& key, const Atom& value)
} else if (value.type() == uris.forge.Bool) {
if (key == uris.ingen_polyphonic) {
set_stacked(value.get_bool());
- } else if (key == uris.ingen_selected) {
- if (value.get_bool() != get_selected()) {
- set_selected(value.get_bool());
- }
}
}
}
@@ -165,11 +161,6 @@ PatchPortModule::set_selected(gboolean b)
{
if (b != get_selected()) {
Module::set_selected(b);
- if (app().signal())
- app().interface()->set_property(
- _model->path(),
- app().uris().ingen_selected,
- app().forge().make(b));
}
}