summaryrefslogtreecommitdiffstats
path: root/src/gui/NodeModule.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-12 04:30:51 +0000
committerDavid Robillard <d@drobilla.net>2012-05-12 04:30:51 +0000
commite6ef6533ecd35aa7623fb8e286ef7e6bb4515fb4 (patch)
tree4dc588850cba294da046390567e3f4358c8ce740 /src/gui/NodeModule.cpp
parent8f5f234b6a81f96fa156257531c20b1b5bd17cfe (diff)
downloadingen-e6ef6533ecd35aa7623fb8e286ef7e6bb4515fb4.tar.gz
ingen-e6ef6533ecd35aa7623fb8e286ef7e6bb4515fb4.tar.bz2
ingen-e6ef6533ecd35aa7623fb8e286ef7e6bb4515fb4.zip
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
Diffstat (limited to 'src/gui/NodeModule.cpp')
-rw-r--r--src/gui/NodeModule.cpp5
1 files changed, 3 insertions, 2 deletions
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
}
}