diff options
Diffstat (limited to 'components/ComboBox.qml')
-rw-r--r-- | components/ComboBox.qml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/ComboBox.qml b/components/ComboBox.qml index c55171120..37ebb915f 100644 --- a/components/ComboBox.qml +++ b/components/ComboBox.qml @@ -83,10 +83,13 @@ Custom.BasicButton { width: implicitWidth height: implicitHeight + implicitWidth: Math.max(80, backgroundItem.implicitWidth) implicitHeight: backgroundItem.implicitHeight + onWidthChanged: popup.setMinimumWidth(width) checkable: false + onPressedChanged: if (pressed) popup.visible = true ContextMenu { |