2022-03-25 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in rdlogedit(1) that caused events from
	previously viewed logs to be prepended to subsequent logs viewed
	during the same session.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2022-03-25 12:25:08 -04:00
parent 2fbc9681b4
commit 612f6a7e08
2 changed files with 5 additions and 0 deletions

View File

@ -22957,3 +22957,7 @@
during the same session.
2022-03-09 Fred Gleason <fredg@paravelsystems.com>
* Refactored the 'RDAddLog' dialog to allow for instance reuse.
2022-03-25 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdlogedit(1) that caused events from
previously viewed logs to be prepended to subsequent logs viewed
during the same session.

View File

@ -247,6 +247,7 @@ QString RDLogModel::logName() const
void RDLogModel::setLogName(QString logname)
{
clear();
RDLog *log=new RDLog(logname);
d_log_name=log->name(); // So we normalize the case
delete log;