2021-01-18 Fred Gleason <fredg@paravelsystems.com>

* Added code to enforce standard row height to the
	'RDCartDialog' dialog.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-01-18 09:14:29 -05:00
parent 5058e0a7ca
commit 83e1f9b95a
2 changed files with 4 additions and 0 deletions

View File

@ -20826,3 +20826,6 @@
get an evergreen background color.
2021-01-18 Fred Gleason <fredg@paravelsystems.com>
* Removed unused method from 'RDLibraryModel'.
2021-01-18 Fred Gleason <fredg@paravelsystems.com>
* Added code to enforce standard row height to the
'RDCartDialog' dialog.

View File

@ -237,6 +237,7 @@ int RDCartDialog::exec(int *cartnum,RDCart::Type type,const QString &svc,
void RDCartDialog::modelResetData()
{
cart_cart_view->resizeColumnsToContents();
cart_cart_view->resizeRowsToContents();
if(cart_cartnum!=NULL) {
QModelIndex index=cart_cart_model->cartRow(*cart_cartnum);
cart_cart_view->selectRow(index.row());