2023-12-01 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in rdairplay(1) when using the 'Append Log'
	['AL'] RML caused the Full Log widget to only display the first
	event of the appended log.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2023-12-01 11:36:42 -05:00
parent 982cdc2d86
commit 83efb5e096
2 changed files with 6 additions and 0 deletions

View File

@ -24498,3 +24498,7 @@
2023-11-27 Fred Gleason <fredg@paravelsystems.com> 2023-11-27 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in ripcd(8) that could cause a segfault when processing * Fixed a bug in ripcd(8) that could cause a segfault when processing
a null password in the 'Login' ['LO'] RML. a null password in the 'Login' ['LO'] RML.
2023-12-01 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdairplay(1) when using the 'Append Log'
['AL'] RML caused the Full Log widget to only display the first
event of the appended log.

View File

@ -1162,6 +1162,7 @@ int RDLogModel::LoadLines(const QString &logname,int id_offset,bool track_ptrs)
delete q; delete q;
return 0; return 0;
} }
beginInsertRows(QModelIndex(),lineCount(),q->size()+lineCount()-1);
for(int i=0;i<q->size();i++) { for(int i=0;i<q->size();i++) {
lines++; lines++;
line.clear(); line.clear();
@ -1355,6 +1356,7 @@ int RDLogModel::LoadLines(const QString &logname,int id_offset,bool track_ptrs)
line.clearModified(); line.clearModified();
d_log_lines.push_back(new RDLogLine(line)); d_log_lines.push_back(new RDLogLine(line));
} }
endInsertRows();
delete q; delete q;
if(track_ptrs) { if(track_ptrs) {