2022-05-23 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in the 'Generate Log' dialog in rdlogmanager(1)
	that caused the progress bar dialog to fail to be hidden after
	generation of a log.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2022-05-23 12:52:45 -04:00
parent 98e040f638
commit 8425e07675
2 changed files with 7 additions and 1 deletions

View File

@@ -58,7 +58,7 @@ GenerateLog::GenerateLog(QWidget *parent,int cmd_switch,QString *cmd_service,
new QProgressDialog(tr("Generating Log..."),tr("Cancel"),0,24,this);
gen_progress_dialog->setWindowTitle("Progress");
gen_progress_dialog->setCancelButton(NULL);
gen_progress_dialog->setValue(24);
gen_progress_dialog->setValue(gen_progress_dialog->maximum());
//
// Service Name
@@ -323,6 +323,8 @@ void GenerateLog::createData()
return;
}
log->updateTracks();
gen_progress_dialog->
setValue(gen_progress_dialog->setValue(gen_progress_dialog->maximum());
SendNotification(RDNotification::AddAction,log->name());
delete log;
delete svc;