diff options
-rw-r--r-- | src/controls/ComboBox.qml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/controls/ComboBox.qml b/src/controls/ComboBox.qml index 5ec0e1f8..4dc8ca39 100644 --- a/src/controls/ComboBox.qml +++ b/src/controls/ComboBox.qml @@ -653,7 +653,10 @@ Control { // The key bindings below will only be in use when popup is // not visible. Otherwise, native popup key handling will take place: Keys.onSpacePressed: { - popup.toggleShow() + if (!editable) + popup.toggleShow() + else + event.accepted = false } Keys.onUpPressed: __selectPrevItem() |