1
0
Fork 0

Launcher: fix aircraft switching on update

Remove some obsolete code which caused the current aircraft to get
switched unexpectedley when updating
This commit is contained in:
James Turner 2019-03-20 17:09:12 +00:00
parent b9dc64ab87
commit 669a80216d

View file

@ -638,10 +638,6 @@ bool LauncherController::validateMetarString(QString metar)
void LauncherController::requestInstallUpdate(QUrl aircraftUri)
{
// also select, otherwise UI is confusing
m_selectedAircraft = aircraftUri;
updateSelectedAircraft();
simgear::pkg::PackageRef pref = packageForAircraftURI(aircraftUri);
if (pref) {
if (pref->isInstalled()) {