mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
With Qt6 on linux, we need to catch StyleChange here
This commit is contained in:
parent
7c8c3657fd
commit
6bb72cc28c
@ -320,7 +320,8 @@ bool ViewSourceWidget::eventFilter(QObject * obj, QEvent * ev)
|
||||
goToCursor();
|
||||
return true;
|
||||
}
|
||||
if (ev->type() == QEvent::ApplicationPaletteChange) {
|
||||
if (ev->type() == QEvent::ApplicationPaletteChange
|
||||
|| ev->type() == QEvent::StyleChange) {
|
||||
// mode switch: colors need to be updated
|
||||
// and the highlighting redone
|
||||
if (highlighter_) {
|
||||
|
Loading…
Reference in New Issue
Block a user