On 1/20/25 7:01 AM, Jürgen Spitzmüller wrote:
Am Montag, dem 20.01.2025 um 12:00 +0000 schrieb Juergen Spitzmueller:
commit 5a814ae0659a1543828a7ef4edef1c9394283b02
Author: Juergen Spitzmueller <sp...@lyx.org>
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);

Also needed for stable

OK.

Riki


--
lyx-devel mailing list
lyx-devel@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to