refs #577, load indicator when publishing

This commit is contained in:
Klaus Basan
2016-02-03 20:54:01 +01:00
parent 3096e9954e
commit 2662f03e81

View File

@@ -246,10 +246,15 @@ namespace BlackGui
{ {
this->showMessages(msgs); this->showMessages(msgs);
} }
else
{
this->ui->tvp_StashAircraftModels->showLoadIndicator();
}
} }
void CDbStashComponent::ps_publishResponse(const CAircraftModelList &publishedModels, const CAircraftModelList &skippedModels, const CStatusMessageList &msgs) void CDbStashComponent::ps_publishResponse(const CAircraftModelList &publishedModels, const CAircraftModelList &skippedModels, const CStatusMessageList &msgs)
{ {
this->ui->tvp_StashAircraftModels->hideLoadIndicator();
if (!publishedModels.isEmpty()) if (!publishedModels.isEmpty())
{ {
emit this->modelsSuccessfullyPublished(publishedModels); emit this->modelsSuccessfullyPublished(publishedModels);