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:
parent
b9dc64ab87
commit
669a80216d
1 changed files with 0 additions and 4 deletions
|
@ -638,10 +638,6 @@ bool LauncherController::validateMetarString(QString metar)
|
||||||
|
|
||||||
void LauncherController::requestInstallUpdate(QUrl aircraftUri)
|
void LauncherController::requestInstallUpdate(QUrl aircraftUri)
|
||||||
{
|
{
|
||||||
// also select, otherwise UI is confusing
|
|
||||||
m_selectedAircraft = aircraftUri;
|
|
||||||
updateSelectedAircraft();
|
|
||||||
|
|
||||||
simgear::pkg::PackageRef pref = packageForAircraftURI(aircraftUri);
|
simgear::pkg::PackageRef pref = packageForAircraftURI(aircraftUri);
|
||||||
if (pref) {
|
if (pref) {
|
||||||
if (pref->isInstalled()) {
|
if (pref->isInstalled()) {
|
||||||
|
|
Loading…
Reference in a new issue