Commit 3171da0d authored by Craig Watson's avatar Craig Watson

Clean-up after last commit (c65457e9)

parent c65457e9
......@@ -1691,14 +1691,8 @@ void UBBoardView::setToolCursor (int tool)
controlViewport->setCursor (UBResources::resources ()->penCursor);
break;
case UBStylusTool::Eraser:
{
controlViewport->setCursor (UBResources::resources ()->eraserCursor);
UBStylusTool::Enum currentTool = (UBStylusTool::Enum)UBDrawingController::drawingController()->stylusTool();
if (currentTool != UBStylusTool::Eraser)
// Avoid hiding the eraser after a click with the eraser
scene()->hideEraser();
break;
}
case UBStylusTool::Marker:
controlViewport->setCursor (UBResources::resources ()->markerCursor);
break;
......
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