mirror of
https://github.com/netchx/netch.git
synced 2026-03-20 18:19:44 +08:00
:bug:修复模式选择下拉框的崩溃bug
This commit is contained in:
@@ -255,7 +255,7 @@ namespace Netch.Forms
|
||||
private void SaveConfigs()
|
||||
{
|
||||
Global.Settings.ServerComboBoxSelectedIndex = ServerComboBox.SelectedIndex;
|
||||
if (ModeComboBox.SelectedItem != null)
|
||||
if (ModeComboBox.Items.Count!=0 && ModeComboBox.SelectedItem != null)
|
||||
{
|
||||
|
||||
if (ModeComboBox.Tag is object[] list)
|
||||
|
||||
Reference in New Issue
Block a user