Commit 970fd55c authored by Dmitry Kazakov's avatar Dmitry Kazakov

Fix deselecting with a single click with outline selection tool

parent 0027d885
......@@ -159,8 +159,8 @@ void KisToolSelectOutline::finishSelectionAction()
KisSelectionToolHelper helper(kisCanvas, kundo2_i18n("Select by Outline"));
if (m_points.count() > 2 &&
!helper.tryDeselectCurrentSelection(boundingViewRect, selectionAction())) {
if (!helper.tryDeselectCurrentSelection(boundingViewRect, selectionAction()) &&
m_points.count() > 2) {
QApplication::setOverrideCursor(KisCursor::waitCursor());
......
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