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

* Fixed a bug in 'RDCutDialog' that allowed a cart entry to be
	selected.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-05-11 15:28:35 -04:00
parent 7ef922efd8
commit 16f7e8e579
2 changed files with 7 additions and 2 deletions

View File

@ -21672,3 +21672,6 @@
2021-05-11 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression 'RDCutDialog' that could cause a segfault
when calling 'RDCutDialog::exec()'.
2021-05-11 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'RDCutDialog' that allowed a cart entry to be
selected.

View File

@ -201,6 +201,9 @@ void RDCutDialog::modelResetData()
for(int i=0;i<cart_cart_model->columnCount();i++) {
cart_cart_view->resizeColumnToContents(i);
}
for(int i=0;i<cart_cart_model->rowCount();i++) {
cart_cart_view->setExpanded(cart_cart_model->index(i,0),true);
}
}
@ -280,9 +283,8 @@ void RDCutDialog::okData()
if(cart_temp_allowed!=NULL) {
*cart_temp_allowed=false;
}
done(true);
}
done(true);
}