From d741b3eb4f26d6e43be780f8b0eeb6355defbbe6 Mon Sep 17 00:00:00 2001 From: zhuzichu Date: Mon, 26 Jun 2023 18:20:01 +0800 Subject: [PATCH] update --- src/imports/FluentUI/Controls/FluTextBoxMenu.qml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/imports/FluentUI/Controls/FluTextBoxMenu.qml b/src/imports/FluentUI/Controls/FluTextBoxMenu.qml index 2763019e..0a23c07c 100644 --- a/src/imports/FluentUI/Controls/FluTextBoxMenu.qml +++ b/src/imports/FluentUI/Controls/FluTextBoxMenu.qml @@ -12,9 +12,7 @@ FluMenu{ animEnabled: false width: 120 onVisibleChanged: { - if(visible){ - inputItem.forceActiveFocus() - } + inputItem.forceActiveFocus() } Connections{ target: inputItem