Fixed background color for Macros

This commit is contained in:
Patrick Linstruth 2019-05-27 15:34:23 -07:00
parent 9af8f765a9
commit 12abffe211

View File

@ -1399,7 +1399,12 @@ void MainWidget::RefreshList()
l->setTextColor(Length,QColor(Qt::black),QFont::Normal);
}
}
RefreshCuts(l,q->value(0).toUInt());
if((RDCart::Type)q->value(15).toUInt()!=RDCart::Macro) {
RefreshCuts(l,q->value(0).toUInt());
}
else {
l->setBackgroundColor(palette().color(QPalette::Active,QColorGroup::Base));
}
matches++;
count++;