logic: Show overview instead of empty error screen after all indexing errors were fixed

This commit is contained in:
Eberhard Graether
2019-08-05 14:33:14 +02:00
parent 2f21848de8
commit 5f91f48844
3 changed files with 19 additions and 2 deletions
@@ -14,6 +14,7 @@ public:
MessageRefreshUI()
: loadStyle(true)
, isAfterIndexing(false)
{
}
@@ -23,6 +24,12 @@ public:
return *this;
}
MessageRefreshUI& afterIndexing()
{
isAfterIndexing = true;
return *this;
}
void print(std::wostream& os) const override
{
if (loadStyle)
@@ -32,6 +39,7 @@ public:
}
bool loadStyle;
bool isAfterIndexing;
};
#endif // MESSAGE_REFRESH_UI_H