mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-20 15:02:27 +02:00
2022-03-09 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:
parent
c2431e2f4f
commit
0c8acd502a
@ -22937,3 +22937,7 @@
|
||||
2022-03-08 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Added a 'direct' namespace to the 'Apple iTunes' and
|
||||
'Apple iTunes + Superfeed' RSS schemas.
|
||||
2022-03-09 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.
|
||||
|
@ -247,9 +247,13 @@ QString RDLogModel::logName() const
|
||||
|
||||
void RDLogModel::setLogName(QString logname)
|
||||
{
|
||||
RDLog *log=new RDLog(logname);
|
||||
d_log_name=log->name(); // So we normalize the case
|
||||
delete log;
|
||||
if(d_log_name.toLower()!=logname) {
|
||||
clear();
|
||||
printf("RDLogModel::setLogName(%s)\n",logname.toUtf8().constData());
|
||||
RDLog *log=new RDLog(logname);
|
||||
d_log_name=log->name(); // So we normalize the case
|
||||
delete log;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user