From 24fdff7e3591ff4b380d75e8d1d7163c39420234 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E5=AD=90=E6=A5=9A=5Czhuzi?= Date: Thu, 25 Apr 2024 00:08:18 +0800 Subject: [PATCH] fix bug --- src/Qt6/imports/FluentUI/Controls/FluRouter.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Qt6/imports/FluentUI/Controls/FluRouter.qml b/src/Qt6/imports/FluentUI/Controls/FluRouter.qml index 178d64a8..a9be78fb 100644 --- a/src/Qt6/imports/FluentUI/Controls/FluRouter.qml +++ b/src/Qt6/imports/FluentUI/Controls/FluRouter.qml @@ -56,7 +56,9 @@ QtObject { var launchMode = win.launchMode if(launchMode === 1){ win.argument = argument - win.show() + if(!win.visible){ + win.visible = true + } win.raise() win.requestActivate() return