Skip to content

Commit bc0d791

Browse files
committed
fix(kubectl-ctx): use onPressed instead of onClicked to prevent namespace click being swallowed by input focus loss
1 parent e12ba18 commit bc0d791

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

kubectl-ctx/ContextRow.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ Item {
7373
anchors.fill: parent
7474
hoverEnabled: true
7575
cursorShape: Qt.PointingHandCursor
76-
onClicked: {
77-
if (!root.isActive) root.activated(root.contextName);
76+
onPressed: {
77+
root.activated(root.contextName);
7878
}
7979
}
8080
}

0 commit comments

Comments
 (0)