diff --git a/ui/widgets/checkbox.cpp b/ui/widgets/checkbox.cpp index 56ef0148..a1433a12 100644 --- a/ui/widgets/checkbox.cpp +++ b/ui/widgets/checkbox.cpp @@ -800,6 +800,11 @@ void Checkbox::paintEvent(QPaintEvent *e) { void Checkbox::mousePressEvent(QMouseEvent *e) { RippleButton::mousePressEvent(e); + const auto state = getTextState(e->pos()); + if (state.link != ClickHandler::getActive()) { + ClickHandler::setActive(state.link, this); + update(); + } ClickHandler::pressed(); }