1
0
Fork 0

Launcher: Fix a QML warning on startup

This commit is contained in:
James Turner 2019-12-24 23:14:58 +00:00
parent f14b8ba6d4
commit ff70578d57

View file

@ -11,6 +11,9 @@ Item {
function updateSelectionFromLauncher()
{
if (!model)
return;
var row = model.indexForURI(_launcher.selectedAircraft);
if (row >= 0) {
view.currentIndex = row;