From 79462624497bf1782a9733987ac29ed286b96b5a Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Mon, 25 Jul 2022 04:37:13 +0300 Subject: [PATCH 44/44] Qt: Raise optiondlg when font/color picker closed Optiondlg was disappearing behind the main window on macOS Reported by ddeanbrown See osdn #44851 Signed-off-by: Marko Lindqvist --- client/gui-qt/optiondlg.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/gui-qt/optiondlg.cpp b/client/gui-qt/optiondlg.cpp index a9f575f682..52c0c22169 100644 --- a/client/gui-qt/optiondlg.cpp +++ b/client/gui-qt/optiondlg.cpp @@ -806,6 +806,7 @@ void option_dialog::select_font() pb->setFont(qf); ql = qf.toString().split(","); pb->setText(ql[0] + " " + ql[1]); + raise(); } /************************************************************************//** @@ -854,6 +855,8 @@ void option_dialog::select_color() set_button_color(but, color.name().toUtf8()); } + + raise(); } /************************************************************************//** -- 2.35.1