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:
@@ -23287,3 +23287,6 @@
|
|||||||
* Modified the JACK driver in caed(8) to define the
|
* Modified the JACK driver in caed(8) to define the
|
||||||
'JACK_NO_AUDIO_RESERVATION' in the environment before starting
|
'JACK_NO_AUDIO_RESERVATION' in the environment before starting
|
||||||
jackd(1).
|
jackd(1).
|
||||||
|
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.
|
||||||
|
|||||||
@@ -205,6 +205,8 @@ int RDCartDialog::exec(int *cartnum,RDCart::Type type,const QString &svc,
|
|||||||
if(cart_cartnum!=NULL) {
|
if(cart_cartnum!=NULL) {
|
||||||
QModelIndex index=cart_cart_model->cartRow(*cart_cartnum);
|
QModelIndex index=cart_cart_model->cartRow(*cart_cartnum);
|
||||||
cart_cart_view->selectRow(index.row());
|
cart_cart_view->selectRow(index.row());
|
||||||
|
cart_ok_button->
|
||||||
|
setEnabled(cart_cart_view->selectionModel()->selectedRows().size()>0);
|
||||||
}
|
}
|
||||||
|
|
||||||
return QDialog::exec();
|
return QDialog::exec();
|
||||||
|
|||||||
@@ -559,7 +559,7 @@ void EditStation::selectClicked()
|
|||||||
{
|
{
|
||||||
int cartnum=station_startup_cart_edit->text().toInt();
|
int cartnum=station_startup_cart_edit->text().toInt();
|
||||||
|
|
||||||
if(admin_cart_dialog->exec(&cartnum,RDCart::Macro,QString(),NULL)==0) {
|
if(admin_cart_dialog->exec(&cartnum,RDCart::Macro,QString(),NULL)) {
|
||||||
station_startup_cart_edit->setText(QString::asprintf("%06d",cartnum));
|
station_startup_cart_edit->setText(QString::asprintf("%06d",cartnum));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user