mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 17:57:01 +08:00
fix: 未输入完整开局干员时点选会清空已输入内容
This commit is contained in:
@@ -53,11 +53,14 @@ namespace MaaWpfGui.Views.UserControl
|
||||
|
||||
private void StartingCoreCharComboBox_DropDownClosed(object sender, EventArgs e)
|
||||
{
|
||||
if (IsValidResult)
|
||||
if (!IsValidResult)
|
||||
{
|
||||
var name = StartingCoreCharComboBox.Text;
|
||||
StartingCoreCharComboBox.ItemsSource = Instances.SettingsViewModel.RoguelikeCoreCharList;
|
||||
return;
|
||||
}
|
||||
|
||||
var name = StartingCoreCharComboBox.Text;
|
||||
StartingCoreCharComboBox.ItemsSource = Instances.SettingsViewModel.RoguelikeCoreCharList;
|
||||
StartingCoreCharComboBox.Text = name;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user