mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
refs #755, allow to refresh GUI parts during consolidation
This commit is contained in:
committed by
Roland Winklmeier
parent
73d41d334b
commit
c848d7ca61
@@ -171,7 +171,7 @@ namespace BlackGui
|
||||
const int modelSize = models.size();
|
||||
const bool filtered = unfilteredSize > modelSize;
|
||||
|
||||
int c = CDatabaseUtils::consolidateModelsWithDbData(models, true);
|
||||
int c = CDatabaseUtils::consolidateModelsWithDbDataAllowsGuiRefresh(models, true, true);
|
||||
if (c > 0 && this->modelsTargetSetable() && this->modelsTargetUpdatable())
|
||||
{
|
||||
if (filtered)
|
||||
@@ -204,7 +204,7 @@ namespace BlackGui
|
||||
CLogMessage().warning("No updatable target");
|
||||
return;
|
||||
}
|
||||
int c = CDatabaseUtils::consolidateModelsWithDbData(models, true);
|
||||
int c = CDatabaseUtils::consolidateModelsWithDbDataAllowsGuiRefresh(models, true, true);
|
||||
if (c > 0 && this->modelsTargetUpdatable())
|
||||
{
|
||||
this->modelsTargetUpdatable()->updateModels(models);
|
||||
|
||||
Reference in New Issue
Block a user