2021-02-25 Fred Gleason <fredg@paravelsystems.com>

* Fixed regressions in rdairplay(1), rdcastmanager(1) and
	rdcatch(1) where configuration changes would not be updated properly.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-02-25 15:34:19 -05:00
parent a923e8953d
commit 33921a3781
7 changed files with 20 additions and 29 deletions

View File

@@ -287,15 +287,13 @@ void EditCartEvent::selectCartData()
if(edit_cart!=NULL) {
cartnum=edit_cart->number();
}
switch(catch_cart_dialog->exec(&cartnum,RDCart::Macro,QString(),NULL)) {
case 0:
if(edit_cart!=NULL) {
delete edit_cart;
}
edit_cart=new RDCart(cartnum);
edit_destination_edit->setText(QString().sprintf("%d",cartnum));
edit_description_edit->setText(edit_cart->title());
break;
if(catch_cart_dialog->exec(&cartnum,RDCart::Macro,QString(),NULL)) {
if(edit_cart!=NULL) {
delete edit_cart;
}
edit_cart=new RDCart(cartnum);
edit_destination_edit->setText(QString().sprintf("%d",cartnum));
edit_description_edit->setText(edit_cart->title());
}
}