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

* Fixed a bug in rdlibrary(1) that could cause the 'Add Cart' dialog
	to display the incorrect type for the selected group.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2023-07-12 14:49:08 -04:00
parent 0903b8f586
commit c647c699f9
2 changed files with 4 additions and 0 deletions

View File

@ -24294,3 +24294,6 @@
that caused rendered log to include the cart immediately after the that caused rendered log to include the cart immediately after the
end of the selected section when setting the 'Include' dropdown to end of the selected section when setting the 'Include' dropdown to
'Only Selected Events'. 'Only Selected Events'.
2023-07-12 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdlibrary(1) that could cause the 'Add Cart' dialog
to display the incorrect type for the selected group.

View File

@ -171,6 +171,7 @@ void RDAddCart::groupActivatedData(const QString &groupname)
} }
else { else {
cart_number_edit->setText(QString::asprintf("%06u",cartnum)); cart_number_edit->setText(QString::asprintf("%06u",cartnum));
cart_type_box->setCurrentIndex((int)group->defaultCartType()-1);
} }
delete group; delete group;
} }