Code

fix leftover rubberband after switching to selector while dragging
authorbuliabyak <buliabyak@users.sourceforge.net>
Wed, 18 Apr 2007 01:07:08 +0000 (01:07 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Wed, 18 Apr 2007 01:07:08 +0000 (01:07 +0000)
src/select-context.cpp

index 1457b7603264b36a6bd9ebf4f3056ea16abc6044..983ba2184322a21d4147f89a83c1030fbb526bde 100644 (file)
@@ -661,6 +661,7 @@ sp_select_context_root_handler(SPEventContext *event_context, GdkEvent *event)
                 
                 desktop->updateNow();
             }
+            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;