mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
NComboBox: properly refresh onModel changed - this fix the issue when switching language in Region.
This commit is contained in:
@@ -332,6 +332,9 @@ RowLayout {
|
||||
function onCurrentKeyChanged() {
|
||||
combo.currentIndex = root.findIndexByKey(root.currentKey);
|
||||
}
|
||||
function onModelChanged() {
|
||||
combo.currentIndex = root.findIndexByKey(root.currentKey);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user