refs #873, changed signal for selector in internal component

This commit is contained in:
Klaus Basan
2017-02-02 01:15:46 +01:00
committed by Mathew Sutcliffe
parent 2a0d0e1d84
commit 7e70662a29
4 changed files with 28 additions and 3 deletions

View File

@@ -86,6 +86,8 @@ namespace BlackGui
connect(ui->pb_LatestPartsLog, &QPushButton::pressed, this, &CInternalsComponent::ps_showLogFiles);
connect(ui->pb_RequestFromNetwork, &QPushButton::pressed, this, &CInternalsComponent::ps_requestPartsFromNetwork);
connect(ui->comp_RemoteAircraftSelector, &CRemoteAircraftSelector::changedCallsign, this, &CInternalsComponent::ps_selectorChanged);
contextFlagsToGui();
}
@@ -312,6 +314,11 @@ namespace BlackGui
});
}
void CInternalsComponent::ps_selectorChanged()
{
this->ps_setCurrentParts();
}
CAircraftParts CInternalsComponent::guiToAircraftParts() const
{
const CAircraftLights lights(