2019-05-31 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in rdlibrary(1) that made it impossible to configure
	more than 100 cuts in a cart using 'By Specified Order' scheduling
	rules.
This commit is contained in:
Fred Gleason 2019-05-31 16:50:29 -04:00
parent 12cfe1b0ff
commit ec367160a8
2 changed files with 7 additions and 1 deletions

View File

@ -18706,3 +18706,7 @@
message dialog to rddbconfig(1).
2019-05-31 Patrick Linstruth <patrick@deltecent.com>
* Fixed bug in 'RDWaveFile' class that exhausted file handles.
2019-05-31 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdlibrary(1) that made it impossible to configure
more than 100 cuts in a cart using 'By Specified Order' scheduling
rules.

View File

@ -2,7 +2,7 @@
//
// Record a Rivendell Cut
//
// (C) Copyright 2002-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2019 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@ -433,10 +433,12 @@ RecordCut::RecordCut(RDCart *cart,QString cut,bool use_weight,QWidget *parent)
cut_isrc_edit->setText(rec_cut->isrc(RDCut::FormattedIsrc));
if(use_weight) {
cut_weight_label->setText(tr("Weight"));
cut_weight_box->setRange(0,100);
cut_weight_box->setValue(rec_cut->weight());
}
else {
cut_weight_label->setText(tr("Order"));
cut_weight_box->setRange(1,RD_MAX_CUT_NUMBER);
cut_weight_box->setValue(rec_cut->playOrder());
}
if(rec_cut->playCounter()>0) {