2021-09-11 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in rdlogmanager(1) that could cause segfaults when
	changing the contents of the 'PRE-IMPORT CARTS' or 'POST-IMPORT CARTS'
	lists in the 'Editing Event' dialog in rdlogmanager(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-09-11 11:25:01 -04:00
parent 49d6b2a528
commit 3f114d3c86
2 changed files with 6 additions and 0 deletions

View File

@@ -22393,3 +22393,7 @@
'pypad_nautel.py'.
2021-09-10 Fred Gleason <fredg@paravelsystems.com>
* Fixed a 'no such signal' error in 'rdcatchd/rdcatchd.cpp'.
2021-09-11 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdlogmanager(1) that could cause segfaults when
changing the contents of the 'PRE-IMPORT CARTS' or 'POST-IMPORT CARTS'
lists in the 'Editing Event' dialog in rdlogmanager(1).

View File

@@ -401,6 +401,7 @@ QModelIndex ImportCartsModel::processCartDrop(int line,RDLogLine *ll)
d_trans_types.removeAt(line);
d_lengths.removeAt(line);
d_icons.removeAt(line);
d_marker_comments.removeAt(line);
endRemoveRows();
}
else { // Add line
@@ -419,6 +420,7 @@ QModelIndex ImportCartsModel::processCartDrop(int line,RDLogLine *ll)
d_trans_types.insert(line,ll->transType());
d_lengths.insert(line,ll->forcedLength());
d_icons.insert(line,rda->iconEngine()->typeIcon(ll->type()));
d_marker_comments.insert(line,ll->markerComment());
endInsertRows();
}