mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-30 17:20:32 +01:00
2022-09-11 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdadmin(1) that made it impossible to set a 'Startup Cart' button using the 'Select' button. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -205,6 +205,8 @@ int RDCartDialog::exec(int *cartnum,RDCart::Type type,const QString &svc,
|
||||
if(cart_cartnum!=NULL) {
|
||||
QModelIndex index=cart_cart_model->cartRow(*cart_cartnum);
|
||||
cart_cart_view->selectRow(index.row());
|
||||
cart_ok_button->
|
||||
setEnabled(cart_cart_view->selectionModel()->selectedRows().size()>0);
|
||||
}
|
||||
|
||||
return QDialog::exec();
|
||||
|
||||
Reference in New Issue
Block a user