mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-04 16:14:03 +01:00
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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user