Commit 282d55d0 authored by Craig Watson's avatar Craig Watson

Compass tool: draw center cross for each new arc

This solves an issue where drawing several arcs in a row resulted in
only the first one being saved.
parent 457aef5b
...@@ -308,6 +308,7 @@ void UBGraphicsCompass::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) ...@@ -308,6 +308,7 @@ void UBGraphicsCompass::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
{ {
updateResizeCursor(); updateResizeCursor();
updateDrawCursor(); updateDrawCursor();
mDrewCenterCross = false;
event->accept(); event->accept();
} }
else if (closeButtonRect().contains(event->pos())) else if (closeButtonRect().contains(event->pos()))
......
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