summaryrefslogtreecommitdiffstats
path: root/src/knotholder.cpp
diff options
context:
space:
mode:
authorAntonio Ospite <ao2@ao2.it>2018-10-31 10:16:58 +0000
committerAntonio Ospite <ao2@ao2.it>2018-11-01 17:22:44 +0000
commit875f9ea97195b77e92625c6f41257758b0e8a880 (patch)
treec847ae52daf7c6f45c1dc63ecc702402bbe50e03 /src/knotholder.cpp
parentKnotHolder: misc cosmetic cleanups (diff)
downloadinkscape-875f9ea97195b77e92625c6f41257758b0e8a880.tar.gz
inkscape-875f9ea97195b77e92625c6f41257758b0e8a880.zip
KnotHolder: remove stale comment
The code in knot_ungrabbed_handler does not use the click signal, so the comment does not apply there.
Diffstat (limited to 'src/knotholder.cpp')
-rw-r--r--src/knotholder.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/knotholder.cpp b/src/knotholder.cpp
index 3f462c541..eba9996eb 100644
--- a/src/knotholder.cpp
+++ b/src/knotholder.cpp
@@ -275,7 +275,6 @@ KnotHolder::knot_ungrabbed_handler(SPKnot *knot, guint state)
e->knot->selectKnot(false);
}
if (e->knot == knot) {
- // no need to test whether knot_click exists since it's virtual now
if (!(e->knot->flags & SP_KNOT_SELECTED) || !(state & GDK_SHIFT_MASK)){
e->knot->selectKnot(true);
} else {