Commit 035991c1 authored by Hans-Christian Ebke's avatar Hans-Christian Ebke

Plugin-Ruler: Double click now removes ruler.


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17422 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 64047555
......@@ -198,6 +198,7 @@ void RulerPlugin::slotMouseEvent(QMouseEvent* _event)
else if (_event->type() == QEvent::MouseButtonDblClick)
{//reset
reset();
currentRuler_.reset();
dblClickCheck_ = true;
}
if (dblClickCheck_ && _event->type() == QEvent::MouseButtonRelease)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment