mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 15:20:29 +01:00
Fixed a regression in rdlibrary(1) where macro cart entries turn RED after viewing.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user