Skip to content
Verified Commit 85f14e96 authored by ivan tkachenko's avatar ivan tkachenko 🗯
Browse files

FlatpakPermissionModel: Stop shuffling list of possible values for entries

This was probably done to put currently effective value on top to make
ComboBox select it by default. Instead the proper way to deal with this
situation is to use Component.onCompleted and indexOfValue API.

`if` guard ensures that binding is only established for relevant
delegates, and actual Qt.binding() is needed to support reloading or
resetting to defaults.

(cherry picked from commit 62fcbb8e)
parent 7eaba5fd
Pipeline #355842 passed with stage
in 42 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment