mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-13 08:05:55 +01:00
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:
@@ -15024,3 +15024,7 @@
|
|||||||
'Makefile.am' files.
|
'Makefile.am' files.
|
||||||
2016-03-25 Fred Gleason <fredg@paravelsystems.com>
|
2016-03-25 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Incremented the package version to 2.11.0test00.
|
* 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.
|
||||||
|
|||||||
@@ -841,8 +841,8 @@ void AudioCart::RefreshLine(RDListViewItem *item)
|
|||||||
RDSqlQuery *q=new RDSqlQuery(sql);
|
RDSqlQuery *q=new RDSqlQuery(sql);
|
||||||
if(q->first()) {
|
if(q->first()) {
|
||||||
item->setText(0,q->value(rdcart_use_weighting).toString());
|
item->setText(0,q->value(rdcart_use_weighting).toString());
|
||||||
item->setText(1,q->value(1).toString());
|
item->setText(1,q->value(2).toString());
|
||||||
item->setText(2,RDGetTimeLength(q->value(2).toUInt()));
|
item->setText(2,RDGetTimeLength(q->value(3).toUInt()));
|
||||||
if (q->value(0) == 0){ //zero weight
|
if (q->value(0) == 0){ //zero weight
|
||||||
item->setBackgroundColor(RD_CART_ERROR_COLOR);
|
item->setBackgroundColor(RD_CART_ERROR_COLOR);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user