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

* Fixed regressions in rdcartslots(1) that caused widgets to fail
	to update properly after reloading slots.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-02-25 13:35:35 -05:00
parent 1f3286ac10
commit 6ee9578318
5 changed files with 14 additions and 14 deletions

View File

@@ -413,7 +413,7 @@ void RDCartSlot::doubleClickedData()
loadData();
}
else {
if(slot_cue_dialog->exec(slot_logline)==0) {
if(slot_cue_dialog->exec(slot_logline)) {
slot_box->setBarMode(true);
slot_box->setCart(slot_logline);
}
@@ -431,7 +431,7 @@ void RDCartSlot::loadData()
cartnum=slot_logline->cartNumber();
if(cartnum==0) {
if(slot_cart_dialog->exec(&cartnum,RDCart::All,QString(),
&slot_temp_cart)==0) {
&slot_temp_cart)) {
load(cartnum);
}
}
@@ -441,7 +441,7 @@ void RDCartSlot::loadData()
break;
case RDSlotOptions::BreakawayMode:
if(slot_svcs_dialog->exec(&slot_svcname)==0) {
if(slot_svcs_dialog->exec(&slot_svcname)) {
slot_box->setService(slot_svcname);
slot_box->setStatusLine(tr("Waiting for break..."));
}
@@ -456,7 +456,7 @@ void RDCartSlot::loadData()
void RDCartSlot::optionsData()
{
RDSlotOptions::Mode old_mode=slot_options->mode();
if(slot_slot_dialog->exec(slot_options)==0) {
if(slot_slot_dialog->exec(slot_options)) {
if(old_mode!=slot_options->mode()) {
slot_box->clear();
}