Update select language list

This commit is contained in:
Cyril Anisimov 2024-12-13 22:16:00 +01:00
parent ef2ffce47a
commit d18f50a3e0

View file

@ -60,35 +60,13 @@ DrawerType2 {
anchors.right: parent.right anchors.right: parent.right
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
clip: true
interactive: true
property int selectedIndex: LanguageModel.currentLanguageIndex
property bool isFocusable: true property bool isFocusable: true
property int selectedIndex: LanguageModel.currentLanguageIndex
Keys.onTabPressed: { clip: true
FocusController.nextKeyTabItem() reuseItems: true
}
Keys.onBacktabPressed: { ScrollBar.vertical: ScrollBarType {}
FocusController.previousKeyTabItem()
}
Keys.onUpPressed: {
FocusController.nextKeyUpItem()
}
Keys.onDownPressed: {
FocusController.nextKeyDownItem()
}
Keys.onLeftPressed: {
FocusController.nextKeyLeftItem()
}
Keys.onRightPressed: {
FocusController.nextKeyRightItem()
}
model: LanguageModel model: LanguageModel