summaryrefslogtreecommitdiffstats
path: root/src/select-context.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-04-25 06:17:17 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-04-25 06:17:17 +0000
commit94f1f239b44f3bf8930c31c78102654c0ffca42b (patch)
tree7e6fe6e257ca779a7e2dbca0aae9f1be72101b24 /src/select-context.cpp
parentattempt to add Barcode into the make-chinery. I'll need help if this doesn't ... (diff)
downloadinkscape-94f1f239b44f3bf8930c31c78102654c0ffca42b.tar.gz
inkscape-94f1f239b44f3bf8930c31c78102654c0ffca42b.zip
unconditionally stop only button-1 rubberbands on mouseover
(bzr r2961)
Diffstat (limited to 'src/select-context.cpp')
-rw-r--r--src/select-context.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/select-context.cpp b/src/select-context.cpp
index 983ba2184..089da65b8 100644
--- a/src/select-context.cpp
+++ b/src/select-context.cpp
@@ -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;