Skip to content
Permalink
Browse files

Fix cursor getting stuck after deselecting a hovered selection

  • Loading branch information...
scribblemaniac committed Apr 12, 2019
1 parent 1a1238d commit 624b47049af35d8701ee749275b1026f8616367e
Showing with 4 additions and 0 deletions.
  1. +4 −0 core_lib/src/interface/scribblearea.cpp
@@ -1869,6 +1869,7 @@ void ScribbleArea::deselectAll()
mySelection = QRectF();
myTransformedSelection = QRectF();
myTempTransformedSelection = QRectF();
mCurrentTransformSelection = QRectF();

Layer* layer = mEditor->layers()->currentLayer();
if (layer == nullptr) { return; }
@@ -1886,6 +1887,9 @@ void ScribbleArea::deselectAll()
// clear all the data tools may have accumulated
editor()->tools()->cleanupAllToolsData();

// Update cursor
setCursor(currentTool()->cursor());

updateCurrentFrame();
}

0 comments on commit 624b470

Please sign in to comment.
You can’t perform that action at this time.