Clean-up after last commit (c65457e)

preferencesAboutTextFull
Craig Watson 9 years ago
parent c65457e962
commit 3171da0d39
  1. 6
      src/board/UBBoardView.cpp

@ -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;

Loading…
Cancel
Save