mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-04 17:30:12 +08:00
refs #577, load indicator when publishing
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user