diff options
| author | Diederik van Lierop <mail@diedenrezi.nl> | 2009-03-30 20:14:00 +0000 |
|---|---|---|
| committer | dvlierop2 <dvlierop2@users.sourceforge.net> | 2009-03-30 20:14:00 +0000 |
| commit | 0e5cc355158f06d87e245680fb980da3b4056fd0 (patch) | |
| tree | f541b2219a0b9445520e6732da0819fa6aca7a63 /src/box3d-context.cpp | |
| parent | Minor change to the snapping icons: snap to bbox and snap to path are now col... (diff) | |
| download | inkscape-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/box3d-context.cpp')
| -rw-r--r-- | src/box3d-context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/box3d-context.cpp b/src/box3d-context.cpp index 5fb85d793..a28463e02 100644 --- a/src/box3d-context.cpp +++ b/src/box3d-context.cpp @@ -373,7 +373,7 @@ static gint sp_box3d_context_root_handler(SPEventContext *event_context, GdkEven event_context->xp = event_context->yp = 0; if ( event->button.button == 1 && !event_context->space_panning) { dragging = false; - 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 if (!event_context->within_tolerance) { // we've been dragging, finish the box |
