mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
Adjusted signal (added count) and overlay message if model loading succeeded
This commit is contained in:
@@ -104,8 +104,9 @@ namespace BlackGui
|
||||
this->onSimulatorChanged(simulator);
|
||||
}
|
||||
|
||||
void CFirstModelSetComponent::onModelsLoaded(const CSimulatorInfo &simulator)
|
||||
void CFirstModelSetComponent::onModelsLoaded(const CSimulatorInfo &simulator, int count)
|
||||
{
|
||||
Q_UNUSED(count);
|
||||
const CSimulatorInfo currentSimulator = ui->comp_SimulatorSelector->getValue();
|
||||
if (simulator != currentSimulator) { return; } // ignore changes not for my selected simulator
|
||||
this->onSimulatorChanged(simulator);
|
||||
|
||||
Reference in New Issue
Block a user