Code

Fix bug #338838: Using double-click on a selected shape to switch to that shape's...
[inkscape.git] / src / star-context.cpp
index 5361219aa7c105fa61249b091306568bc67900cc..a004426081af848b10bcbc15851afa57b04f3b60 100644 (file)
@@ -281,7 +281,7 @@ static gint sp_star_context_root_handler(SPEventContext *event_context, GdkEvent
         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 star
                 sp_star_finish (sc);