From 3171da0d39b4a715165df4bf6a4e0d1778725917 Mon Sep 17 00:00:00 2001 From: Craig Watson Date: Tue, 16 Feb 2016 14:34:48 +0100 Subject: [PATCH] Clean-up after last commit (c65457e) --- src/board/UBBoardView.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/board/UBBoardView.cpp b/src/board/UBBoardView.cpp index 2d2d29cc..8e63c31e 100644 --- a/src/board/UBBoardView.cpp +++ b/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;