mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
refs #873, changed signal for selector in internal component
This commit is contained in:
committed by
Mathew Sutcliffe
parent
2a0d0e1d84
commit
7e70662a29
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user