summaryrefslogtreecommitdiffstats
path: root/application/groupview
diff options
context:
space:
mode:
Diffstat (limited to 'application/groupview')
-rw-r--r--application/groupview/GroupView.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/application/groupview/GroupView.cpp b/application/groupview/GroupView.cpp
index 5ccbfd39..a1a28532 100644
--- a/application/groupview/GroupView.cpp
+++ b/application/groupview/GroupView.cpp
@@ -394,6 +394,8 @@ void GroupView::mouseReleaseEvent(QMouseEvent *event)
updateGeometries();
viewport()->update();
event->accept();
+ m_pressedCategory = nullptr;
+ setState(NoState);
return;
}
else if (state() == CollapsingState)
@@ -404,6 +406,8 @@ void GroupView::mouseReleaseEvent(QMouseEvent *event)
updateGeometries();
viewport()->update();
event->accept();
+ m_pressedCategory = nullptr;
+ setState(NoState);
return;
}
}