Merge branch 'deltecent-issue458'

This commit is contained in:
Fred Gleason 2019-07-22 12:37:57 -04:00
commit 37fca7eff4
2 changed files with 7 additions and 2 deletions

View File

@ -18874,3 +18874,6 @@
2019-07-19 Fred Gleason <fredg@paravelsystems.com>
* Added an 'HttpUserAgent=' directive to the '[Identity]' section
of rd.conf(5).
2019-07-20 Patrick Linstruth <patrick@deltecent.com>
* Fixed a regression in rdlibrary(1) where macro cart entries turn
RED after viewing.

View File

@ -1399,7 +1399,7 @@ void MainWidget::RefreshList()
l->setTextColor(Length,QColor(Qt::black),QFont::Normal);
}
}
if((RDCart::Type)q->value(15).toUInt()!=RDCart::Macro) {
if((RDCart::Type)q->value(15).toUInt()==RDCart::Audio) {
RefreshCuts(l,q->value(0).toUInt());
}
else {
@ -1579,7 +1579,9 @@ void MainWidget::RefreshLine(RDListViewItem *item)
}
}
RefreshCuts(item,item->text(Cart).toUInt());
if((RDCart::Type)q->value(14).toUInt()==RDCart::Audio) {
RefreshCuts(item,item->text(Cart).toUInt());
}
}
delete q;
}