Adjusted signal (added count) and overlay message if model loading succeeded

This commit is contained in:
Klaus Basan
2018-09-18 03:09:05 +02:00
parent 5f5113ed47
commit 33a93bf0f4
5 changed files with 16 additions and 6 deletions

View File

@@ -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);