Modified rdlogmanager(1) to disable merge buttons if the selected

log does not contain any import links.
This commit is contained in:
Patrick Linstruth 2020-04-03 11:26:48 -07:00
parent d0c232eef1
commit 940737bbf2
2 changed files with 5 additions and 0 deletions

View File

@ -19749,3 +19749,6 @@
* Fixed a regression in rdairplay(1) that caused two events to be
started by a single spacebar tap if a SoundPanel event had been
played previously.
2020-04-04 Patrick Linstruth <patrick@deltecent.com>
* Modified rdlogmanager(1) to disable merge buttons if the selected
log does not contain any import links.

View File

@ -599,6 +599,7 @@ void GenerateLog::UpdateControls()
}
else {
gen_music_enabled=false;
gen_music_button->setDisabled(true);
gen_mus_merged_label->setPixmap(*gen_whiteball_map);
}
if(log->linkQuantity(RDLog::SourceTraffic)>0) {
@ -612,6 +613,7 @@ void GenerateLog::UpdateControls()
}
else {
gen_traffic_enabled=false;
gen_traffic_button->setDisabled(true);
gen_tfc_merged_label->setPixmap(*gen_whiteball_map);
}
}