diff --git a/shadowsocks-csharp/View/ConfigForm.cs b/shadowsocks-csharp/View/ConfigForm.cs index 14179d46..e5b4126f 100755 --- a/shadowsocks-csharp/View/ConfigForm.cs +++ b/shadowsocks-csharp/View/ConfigForm.cs @@ -376,7 +376,10 @@ namespace Shadowsocks.View private void enableLogBox_CheckedChanged(object sender, EventArgs e) { - MessageBox.Show("This option only works on next startup."); + if (this.Visible) + { + MessageBox.Show("This option only works on next startup."); + } } } }