Fix themes displaying list item selections incorrectly

The issue was that the blue selection highlight was not visible and
instead, a grey box was painted around each item.
I am not sure what exactly was causing this.
This commit is contained in:
WarmUpTill 2023-01-24 20:54:27 +01:00 committed by WarmUpTill
parent ebdbb9011f
commit e8230d8e5b

View File

@ -18,6 +18,8 @@ MacroTreeItem::MacroTreeItem(MacroTree *tree, std::shared_ptr<Macro> macroItem,
: _tree(tree), _highlight(highlight), _macro(macroItem)
{
setAttribute(Qt::WA_TranslucentBackground);
// This is necessary for some theses to display active selections properly
setStyleSheet("background: none");
auto name = _macro->Name();
bool macroPaused = _macro->Paused();