summaryrefslogtreecommitdiffstats
path: root/src/text-context.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2009-03-30 20:14:00 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2009-03-30 20:14:00 +0000
commit0e5cc355158f06d87e245680fb980da3b4056fd0 (patch)
treef541b2219a0b9445520e6732da0819fa6aca7a63 /src/text-context.cpp
parentMinor change to the snapping icons: snap to bbox and snap to path are now col... (diff)
downloadinkscape-0e5cc355158f06d87e245680fb980da3b4056fd0.tar.gz
inkscape-0e5cc355158f06d87e245680fb980da3b4056fd0.zip
Fix bug #338838: Using double-click on a selected shape to switch to that shape's tool would give a snap-window-already-closed warning
(bzr r7594)
Diffstat (limited to 'src/text-context.cpp')
-rw-r--r--src/text-context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text-context.cpp b/src/text-context.cpp
index a5af08385..21f74a84b 100644
--- a/src/text-context.cpp
+++ b/src/text-context.cpp
@@ -388,7 +388,7 @@ sp_text_context_item_handler(SPEventContext *event_context, SPItem *item, GdkEve
case GDK_BUTTON_RELEASE:
if (event->button.button == 1 && tc->dragging && !event_context->space_panning) {
tc->dragging = 0;
- sp_event_context_snap_window_closed(event_context);
+ sp_event_context_snap_window_closed(event_context, false); //button release will also occur on a double-click; in that case suppress warnings
ret = TRUE;
}
break;