From 1f14ebf0e8078ff4c5b9ae8a7a4b0f13ce2e49cd Mon Sep 17 00:00:00 2001 From: status102 Date: Mon, 25 Sep 2023 22:11:45 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BF=AE=E6=94=B9=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E6=A1=86Enabled=E4=BB=A5=E4=BC=98=E5=8C=96=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E5=8F=B7=E6=97=B6=E7=9A=84=E8=A1=A8=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MaaWpfGui/Views/UI/CopilotView.xaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MaaWpfGui/Views/UI/CopilotView.xaml b/src/MaaWpfGui/Views/UI/CopilotView.xaml index e42ededd51..0a618c9801 100644 --- a/src/MaaWpfGui/Views/UI/CopilotView.xaml +++ b/src/MaaWpfGui/Views/UI/CopilotView.xaml @@ -57,7 +57,7 @@ hc:BorderElement.CornerRadius="4,0,0,4" DropDownOpened="{s:Action OnDropDownOpened}" IsEditable="True" - IsEnabled="{c:Binding '(Idle) and (StartEnabled)'}" + IsReadOnly="{c:Binding Path=!Idle}" Text="{Binding Filename}" />