summaryrefslogtreecommitdiffstats
path: root/src/select-context.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-04-18 01:07:08 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-04-18 01:07:08 +0000
commitc4d9f4ed7662d03118c6c4374c55ad7171596be2 (patch)
tree62f81f8f5e4d3f3dee5ea0e61c41ea08842fa60b /src/select-context.cpp
parentpatch 1687818 (diff)
downloadinkscape-c4d9f4ed7662d03118c6c4374c55ad7171596be2.tar.gz
inkscape-c4d9f4ed7662d03118c6c4374c55ad7171596be2.zip
fix leftover rubberband after switching to selector while dragging
(bzr r2921)
Diffstat (limited to 'src/select-context.cpp')
-rw-r--r--src/select-context.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/select-context.cpp b/src/select-context.cpp
index 1457b7603..983ba2184 100644
--- a/src/select-context.cpp
+++ b/src/select-context.cpp
@@ -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;