commit 5a814ae0659a1543828a7ef4edef1c9394283b02
Author: Juergen Spitzmueller <[email protected]>
Date:   Mon Jan 20 12:59:59 2025 +0100

    Need to refill the toolbars on runtime mode switch on Linux as well
---
 src/frontends/qt/GuiView.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/frontends/qt/GuiView.cpp b/src/frontends/qt/GuiView.cpp
index c121a10f82..302156fd4c 100644
--- a/src/frontends/qt/GuiView.cpp
+++ b/src/frontends/qt/GuiView.cpp
@@ -1818,6 +1818,7 @@ bool GuiView::event(QEvent * e)
        case QEvent::StyleChange: {
                // We need to update metrics here to avoid a crash (#12786)
                theBufferList().changed(true);
+               refillToolbars();
                return QMainWindow::event(e);
        }
 #endif
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to