1
0
Fork 0

Launcher: tweak aircraft list key handling

This commit is contained in:
James Turner 2018-10-01 14:22:48 +01:00
parent c8ed3f02fe
commit cce3ae0268

View file

@ -2,7 +2,7 @@ import QtQuick 2.2
import FlightGear.Launcher 1.0 as FG
import "." // -> forces the qmldir to be loaded
Item
FocusScope
{
id: root
@ -136,6 +136,7 @@ Item
}
clip: true
focus: true
// prevent mouse wheel interactions when the details view is
// visible, since it has its own flickable
@ -148,14 +149,6 @@ Item
// when doing a progrmatic set
readonly property int __realHighlightMoveDuration: 200
Keys.onUpPressed: {
}
Keys.onDownPressed: {
}
function updateSelectionFromLauncher()
{
model.selectVariantForAircraftURI(_launcher.selectedAircraft);