Launcher: Fix a QML warning on startup
This commit is contained in:
parent
f14b8ba6d4
commit
ff70578d57
1 changed files with 3 additions and 0 deletions
|
@ -11,6 +11,9 @@ Item {
|
|||
|
||||
function updateSelectionFromLauncher()
|
||||
{
|
||||
if (!model)
|
||||
return;
|
||||
|
||||
var row = model.indexForURI(_launcher.selectedAircraft);
|
||||
if (row >= 0) {
|
||||
view.currentIndex = row;
|
||||
|
|
Loading…
Add table
Reference in a new issue