From e6ef6533ecd35aa7623fb8e286ef7e6bb4515fb4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 12 May 2012 04:30:51 +0000 Subject: Select newly pasted objects so they can be easily moved. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4370 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/NodeModule.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/gui/NodeModule.cpp') diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp index ad3f23bb..e6bbee67 100644 --- a/src/gui/NodeModule.cpp +++ b/src/gui/NodeModule.cpp @@ -414,9 +414,9 @@ NodeModule::property_changed(const URI& key, const Atom& value) void NodeModule::set_selected(gboolean b) { - const URIs& uris = app().uris(); if (b != get_selected()) { - Module::set_selected(b); + Ganv::Module::set_selected(b); + #if 0 if (b) { PatchWindow* win = app().window_factory()->parent_patch_window(node()); if (win) { @@ -432,6 +432,7 @@ NodeModule::set_selected(gboolean b) } } } + #endif } } -- cgit v1.2.1