Progress dialog: show analysing... while no files or modules are known yet.
This commit is contained in:
@@ -212,10 +212,17 @@ void progress_dialog_server::operator()()
|
|||||||
|
|
||||||
std::string progr = "Progress:";
|
std::string progr = "Progress:";
|
||||||
|
|
||||||
|
if (ftotal || ptotal)
|
||||||
|
{
|
||||||
if (ftotal)
|
if (ftotal)
|
||||||
fmt::append(progr, " file %u of %u%s", fdone, ftotal, ptotal ? "," : "");
|
fmt::append(progr, " file %u of %u%s", fdone, ftotal, ptotal ? "," : "");
|
||||||
if (ptotal)
|
if (ptotal)
|
||||||
fmt::append(progr, " module %u of %u", pdone, ptotal);
|
fmt::append(progr, " module %u of %u", pdone, ptotal);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
fmt::append(progr, " analysing...");
|
||||||
|
}
|
||||||
|
|
||||||
// Changes detected, send update
|
// Changes detected, send update
|
||||||
if (native_dlg)
|
if (native_dlg)
|
||||||
|
|||||||
Reference in New Issue
Block a user