summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/measure-tool.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-06-12 16:27:42 +0000
committerJabiertxof <jtx@jtx.marker.es>2016-06-12 16:27:42 +0000
commitedc19028160caa0d92b943232483ba76fa8ea75b (patch)
tree525359561fd1641377993e07ef3102276d07e658 /src/ui/tools/measure-tool.cpp
parentFix errors do to previous commit. (We have two attribute-test files.) (diff)
downloadinkscape-edc19028160caa0d92b943232483ba76fa8ea75b.tar.gz
inkscape-edc19028160caa0d92b943232483ba76fa8ea75b.zip
Fix bug 'Persistent measure repositions on middle click'
Fixed bugs: - https://launchpad.net/bugs/1591662 (bzr r14982)
Diffstat (limited to 'src/ui/tools/measure-tool.cpp')
-rw-r--r--src/ui/tools/measure-tool.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ui/tools/measure-tool.cpp b/src/ui/tools/measure-tool.cpp
index 5900a2359..0977729ae 100644
--- a/src/ui/tools/measure-tool.cpp
+++ b/src/ui/tools/measure-tool.cpp
@@ -565,7 +565,6 @@ bool MeasureTool::root_handler(GdkEvent* event)
explicit_base = boost::none;
explicit_base_tmp = boost::none;
last_end = boost::none;
- start_p = desktop->w2d(button_w);
if (event->button.button == 1 && !this->space_panning) {
// save drag origin