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