diff options
author | David Robillard <d@drobilla.net> | 2011-12-07 18:33:00 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-12-07 18:33:00 +0000 |
commit | 1d4979ede23d756e3116d0f3073727c5a267b570 (patch) | |
tree | 8405ebcb3d98cda2e51b1ba04e9bf2baf0db5d8f /src/gui/PatchPortModule.cpp | |
parent | fd04fe7efcf0434a3c6a35fd2a65c775fb383bd0 (diff) | |
download | ingen-1d4979ede23d756e3116d0f3073727c5a267b570.tar.gz ingen-1d4979ede23d756e3116d0f3073727c5a267b570.tar.bz2 ingen-1d4979ede23d756e3116d0f3073727c5a267b570.zip |
Remove cruft from public API.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3828 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/PatchPortModule.cpp')
-rw-r--r-- | src/gui/PatchPortModule.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/PatchPortModule.cpp b/src/gui/PatchPortModule.cpp index 58c05711..14edf6c5 100644 --- a/src/gui/PatchPortModule.cpp +++ b/src/gui/PatchPortModule.cpp @@ -153,11 +153,7 @@ PatchPortModule::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()); } } default: break; |