From 669a80216dc2edf13b159bb756da1cf2c1496dae Mon Sep 17 00:00:00 2001 From: James Turner Date: Wed, 20 Mar 2019 17:09:12 +0000 Subject: [PATCH] Launcher: fix aircraft switching on update Remove some obsolete code which caused the current aircraft to get switched unexpectedley when updating --- src/GUI/LauncherController.cxx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/GUI/LauncherController.cxx b/src/GUI/LauncherController.cxx index b7615a41a..44a61ac60 100644 --- a/src/GUI/LauncherController.cxx +++ b/src/GUI/LauncherController.cxx @@ -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()) {