summaryrefslogtreecommitdiffstats
path: root/src/gui/NodeModule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/NodeModule.cpp')
-rw-r--r--src/gui/NodeModule.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp
index d03119d6..034eb28d 100644
--- a/src/gui/NodeModule.cpp
+++ b/src/gui/NodeModule.cpp
@@ -405,10 +405,7 @@ NodeModule::property_changed(const URI& key, const Atom& value)
set_stacked(value.get_bool());
} else if (key == uris.ingen_selected) {
if (value.get_bool() != get_selected()) {
- if (value.get_bool())
- canvas()->select_item(this);
- else
- canvas()->unselect_item(this);
+ set_selected(value.get_bool());
}
}
break;