summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/connector-tool.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-02-05 16:32:33 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-02-05 16:32:33 +0000
commit274f1d5f9de902061dee7708955c6de2fed53ef5 (patch)
tree0dceef73aa8a2411aa731b18050b7ffb759b582f /src/ui/tools/connector-tool.cpp
parentfixing su_v advertising memory bug (diff)
parentFix for Bug #1250685 (Unnecessary gender-specific terms in code). (diff)
downloadinkscape-274f1d5f9de902061dee7708955c6de2fed53ef5.tar.gz
inkscape-274f1d5f9de902061dee7708955c6de2fed53ef5.zip
update to trunk
(bzr r11950.1.248)
Diffstat (limited to 'src/ui/tools/connector-tool.cpp')
-rw-r--r--src/ui/tools/connector-tool.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ui/tools/connector-tool.cpp b/src/ui/tools/connector-tool.cpp
index 62d52f6af..50cb00360 100644
--- a/src/ui/tools/connector-tool.cpp
+++ b/src/ui/tools/connector-tool.cpp
@@ -1080,7 +1080,12 @@ cc_generic_knot_handler(SPCanvasItem *, GdkEvent *event, SPKnot *knot)
case GDK_LEAVE_NOTIFY:
sp_knot_set_flag(knot, SP_KNOT_MOUSEOVER, FALSE);
- cc->active_handle = NULL;
+ /* FIXME: the following test is a workaround for LP Bug #1273510.
+ * It seems that a signal is not correctly disconnected, maybe
+ * something missing in cc_clear_active_conn()? */
+ if (cc) {
+ cc->active_handle = NULL;
+ }
if (knot_tip) {
knot->desktop->event_context->defaultMessageContext()->clear();