mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Remove call to non-existing function close() in QML ComboBox
This causes the following error: ComboBox.qml:53: ReferenceError: close is not defined And seems to be definitely incorrect.
This commit is contained in:
parent
4a7e9c77f2
commit
4fff634d50
1 changed files with 2 additions and 2 deletions
|
@ -50,8 +50,8 @@ FocusScope {
|
|||
|
||||
function previousItem() { root.currentHighLightedIndex = (root.currentHighLightedIndex + comboBox.count - 1) % comboBox.count; }
|
||||
function nextItem() { root.currentHighLightedIndex = (root.currentHighLightedIndex + comboBox.count + 1) % comboBox.count; }
|
||||
function selectCurrentItem() { root.currentIndex = root.currentHighLightedIndex; close(); /*hideList();*/ }
|
||||
function selectSpecificItem(index) { root.currentIndex = index; close();/*hideList();*/ }
|
||||
function selectCurrentItem() { root.currentIndex = root.currentHighLightedIndex; /*hideList();*/ }
|
||||
function selectSpecificItem(index) { root.currentIndex = index; /*hideList();*/ }
|
||||
|
||||
Keys.onUpPressed: previousItem();
|
||||
Keys.onDownPressed: nextItem();
|
||||
|
|
Loading…
Reference in a new issue