2016-03-25 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in 'rdlibrary/audio_cart.cpp' that caused
	information to be corrupted in the cut list after editing a cut's
	dayparting information.
This commit is contained in:
Fred Gleason 2016-03-25 14:06:56 -04:00
parent 71e0c6d8f3
commit 2a283a55eb
2 changed files with 6 additions and 2 deletions

View File

@ -15024,3 +15024,7 @@
'Makefile.am' files.
2016-03-25 Fred Gleason <fredg@paravelsystems.com>
* Incremented the package version to 2.11.0test00.
2016-03-25 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in 'rdlibrary/audio_cart.cpp' that caused
information to be corrupted in the cut list after editing a cut's
dayparting information.

View File

@ -841,8 +841,8 @@ void AudioCart::RefreshLine(RDListViewItem *item)
RDSqlQuery *q=new RDSqlQuery(sql);
if(q->first()) {
item->setText(0,q->value(rdcart_use_weighting).toString());
item->setText(1,q->value(1).toString());
item->setText(2,RDGetTimeLength(q->value(2).toUInt()));
item->setText(1,q->value(2).toString());
item->setText(2,RDGetTimeLength(q->value(3).toUInt()));
if (q->value(0) == 0){ //zero weight
item->setBackgroundColor(RD_CART_ERROR_COLOR);
} else {