commit bdaf1dbe99d6eca8c785959a68a43c0d8570d74f
Author: Stephan Witt <[email protected]>
Date:   Mon Dec 2 08:44:56 2024 -0800

    #12224 improved palette change event for macos
---
 src/frontends/qt/GuiView.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/frontends/qt/GuiView.cpp b/src/frontends/qt/GuiView.cpp
index 29a450a8b4..b8dd67f9cd 100644
--- a/src/frontends/qt/GuiView.cpp
+++ b/src/frontends/qt/GuiView.cpp
@@ -1797,8 +1797,9 @@ bool GuiView::event(QEvent * e)
                        // We need to update metrics here to avoid a crash 
(#12786)
                        theBufferList().changed(true);
                        refillToolbars();
+                       return QMainWindow::event(e);
                }
-               return QMainWindow::event(e);
+               return true;
        }
 #else
        // Pre 6.8: OS-dependent
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to