mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-29 16:50:13 +01:00
2022-03-25 Fred Gleason <fredg@paravelsystems.com>
* Reverted the following changes: 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. 2022-03-09 Fred Gleason <fredg@paravelsystems.com> * Refactored the 'RDAddLog' dialog to allow for instance reuse. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -329,8 +329,7 @@ void GenerateLog::createData()
|
||||
//
|
||||
// Generate Exception Report
|
||||
//
|
||||
RDLogModel *model=new RDLogModel(false,this);
|
||||
model->setLogName(logname);
|
||||
RDLogModel *model=new RDLogModel(logname,false,this);
|
||||
model->load();
|
||||
if((model->validate(&report,gen_date_edit->date())==0)&&
|
||||
unused_report.isEmpty()) {
|
||||
|
||||
@@ -107,8 +107,7 @@ void LogObject::userData()
|
||||
//
|
||||
// Generate Exception Report
|
||||
//
|
||||
RDLogModel *model=new RDLogModel(false,this);
|
||||
model->setLogName(logname);
|
||||
RDLogModel *model=new RDLogModel(logname,false,this);
|
||||
model->load();
|
||||
if((model->validate(&report,start_date)!=0)||
|
||||
(!unused_report.isEmpty())) {
|
||||
|
||||
Reference in New Issue
Block a user