fixed: Log Form will hidden when restart Windows

This commit is contained in:
kimw
2015-08-27 04:38:52 +08:00
parent 3283c93857
commit bdd29e8384
+2 -2
View File
@@ -120,8 +120,8 @@ namespace Shadowsocks.View
timer.Tick += Timer_Tick;
timer.Start();
this.Top = config.logViewer.top;
this.Left = config.logViewer.left;
this.Top = (config.logViewer.top >=0) ? config.logViewer.top : 0;
this.Left = (config.logViewer.left >=0) ? config.logViewer.left : 0;
this.Height = config.logViewer.height;
this.Width = config.logViewer.width;