From 4f6f130d9a66adf0661224241462e499d43d9991 Mon Sep 17 00:00:00 2001 From: Ewerton Mattos Date: Wed, 14 Oct 2026 17:52:51 -0300 Subject: [PATCH] =?UTF-8?q?fix(settings):=20make=20the=20=C3=97=20button?= =?UTF-8?q?=20on=20phrase=20rows=20clickable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit XPhraseRow's full-row hover MouseArea was declared after the × button, so it sat on top in z-order and, accepting the left button by default, swallowed every click. The × still turned red on hover (hover reaches both areas), but removeClicked was never emitted, so phrases could not be removed from "Phrases to avoid" (Personalisation) or "Blocked phrases" (Block List). Set acceptedButtons: Qt.NoButton on the hover-only MouseArea so clicks fall through to the × button. Co-Authored-By: Claude Opus 5.5 --- settings/qt6-app/qml/primitives/XPhraseRow.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/settings/qt6-app/qml/primitives/XPhraseRow.qml b/settings/qt6-app/qml/primitives/XPhraseRow.qml index c99159e..5c9be9d 100644 --- a/settings/qt6-app/qml/primitives/XPhraseRow.qml +++ b/settings/qt6-app/qml/primitives/XPhraseRow.qml @@ -55,5 +55,6 @@ Item { id: rowMa anchors.fill: parent hoverEnabled: true + acceptedButtons: Qt.NoButton // hover only; let clicks reach the × button } }