From 131114f0c26a55fc48eb2e4c3288cd8ed340764a Mon Sep 17 00:00:00 2001 From: Syrone Wong Date: Wed, 12 Oct 2016 09:36:17 +0800 Subject: [PATCH] Fix #779 Signed-off-by: Syrone Wong --- shadowsocks-csharp/View/ConfigForm.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shadowsocks-csharp/View/ConfigForm.cs b/shadowsocks-csharp/View/ConfigForm.cs index f3f7d591..3a4e5e04 100755 --- a/shadowsocks-csharp/View/ConfigForm.cs +++ b/shadowsocks-csharp/View/ConfigForm.cs @@ -296,7 +296,7 @@ namespace Shadowsocks.View { int index = ServersListBox.SelectedIndex; Server server = _modifiedConfiguration.configs[index]; - object item = ServersListBox.SelectedItem; + object item = ServersListBox.Items[index]; _modifiedConfiguration.configs.Remove(server); _modifiedConfiguration.configs.Insert(index + step, server);