fix: use a palette for dialogs (#6098)
This commit is contained in:
@@ -219,10 +219,7 @@ void SearchPopup::themeChangedEvent()
|
||||
{
|
||||
BasePopup::themeChangedEvent();
|
||||
|
||||
// NOTE: This currently overrides the QLineEdit's font size.
|
||||
// If the dialog is open when the theme is changed, things will look a bit off.
|
||||
// This can be alleviated by us using a single application-wide style sheet for these things.
|
||||
this->searchInput_->setStyleSheet(this->theme->splits.input.styleSheet);
|
||||
this->setPalette(getTheme()->palette);
|
||||
}
|
||||
|
||||
void SearchPopup::search()
|
||||
|
||||
Reference in New Issue
Block a user