Browse Source

fixed: Log Form will hidden when restart Windows

tags/3.0
kimw 9 years ago
parent
commit
bdd29e8384
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      shadowsocks-csharp/View/LogForm.cs

+ 2
- 2
shadowsocks-csharp/View/LogForm.cs 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;


Loading…
Cancel
Save