Code

more unreffing temporary styles properly
[inkscape.git] / src / select-context.cpp
index 983ba2184322a21d4147f89a83c1030fbb526bde..089da65b840ea94824cc0d678a2829972c5469c1 100644 (file)
@@ -661,7 +661,9 @@ sp_select_context_root_handler(SPEventContext *event_context, GdkEvent *event)
                 
                 desktop->updateNow();
             }
-            Inkscape::Rubberband::get()->stop(); // might have been started in another tool!
+            if (event->button.button == 1) {
+                Inkscape::Rubberband::get()->stop(); // might have been started in another tool!
+            }
             sc->button_press_shift = false;
             sc->button_press_ctrl = false;
             sc->button_press_alt = false;