diff --git a/src/MeoAsstGui/UserControl/FightSettingsUserControl.xaml b/src/MeoAsstGui/UserControl/FightSettingsUserControl.xaml index 304413c44f..9e91e3ea92 100644 --- a/src/MeoAsstGui/UserControl/FightSettingsUserControl.xaml +++ b/src/MeoAsstGui/UserControl/FightSettingsUserControl.xaml @@ -108,7 +108,6 @@ Margin="0,6" VerticalContentAlignment="Center" DisplayMemberPath="Display" - IsDropDownOpen="{Binding IsDropDown}" IsEditable="True" IsTextSearchEnabled="False" Loaded="{s:Action DropsList_Loaded}" diff --git a/src/MeoAsstGui/ViewModels/TaskQueueViewModel.cs b/src/MeoAsstGui/ViewModels/TaskQueueViewModel.cs index 176fab3d6b..02076f282c 100644 --- a/src/MeoAsstGui/ViewModels/TaskQueueViewModel.cs +++ b/src/MeoAsstGui/ViewModels/TaskQueueViewModel.cs @@ -1619,8 +1619,6 @@ namespace MeoAsstGui } private string _dropsItem = string.Empty; - private bool _isFirstLoadDropItem = true; - private long _preSetDropsItemTicks = 0; /// /// Gets or sets the item of drops. @@ -1628,37 +1626,7 @@ namespace MeoAsstGui public string DropsItem { get => _dropsItem; - set - { - if (_isFirstLoadDropItem) - { - _isFirstLoadDropItem = false; - } - else - { - IsDropDown = true; - } - - if (DateTime.Now.Ticks - _preSetDropsItemTicks < 50) - { - return; - } - - _preSetDropsItemTicks = DateTime.Now.Ticks; - - SetAndNotify(ref _dropsItem, value); - } - } - - private bool _isDropDown = false; - - /// - /// Gets or sets a value indicating whether it is dropdown. - /// - public bool IsDropDown - { - get => _isDropDown; - set => SetAndNotify(ref _isDropDown, value); + set => SetAndNotify(ref _dropsItem, value); } private string _dropsQuantity = ViewStatusStorage.Get("MainFunction.Drops.Quantity", "5");