Skip to content

Commit

Permalink
Fix editor text color
Browse files Browse the repository at this point in the history
Fixes #2643
  • Loading branch information
hluk committed Mar 24, 2024
1 parent d1712ee commit 364ec6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/item/itemdelegate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ ItemEditorWidget *ItemDelegate::createCustomEditor(
editorParent->setBackgroundRole(QPalette::Base);
editorParent->setAutoFillBackground(true);
editorParent->setPalette(palette);
editor->setPalette(palette);
editor->setStyleSheet("QTextEdit{background:transparent}");

palette.setColor(QPalette::Base, Qt::transparent);
Expand Down

0 comments on commit 364ec6f

Please sign in to comment.