- add option to hide main window on startup
- Fixed #586
This commit is contained in:
xzhao
2016-05-14 21:48:58 +08:00
committed by bao-qian
parent 67ab979a9b
commit 87497d2d09
6 changed files with 18 additions and 1 deletions

View File

@@ -65,7 +65,7 @@ namespace Wox
// happlebao todo delete
vm.Left = GetWindowsLeft();
vm.Top = GetWindowsTop();
vm.MainWindowVisibility = Visibility.Visible;
vm.MainWindowVisibility = _settings.HideOnStartup ? Visibility.Hidden : Visibility.Visible;
}
private void RegisterEvents(MainViewModel vm)