mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
enhance: bring window into view after receive IPC message
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
e2da44c8fd
commit
c4c04b8b01
4 changed files with 53 additions and 22 deletions
|
@ -18,9 +18,8 @@ namespace SourceGit.ViewModels
|
|||
if (_instance != null)
|
||||
return _instance;
|
||||
|
||||
_isLoading = true;
|
||||
_instance = Load();
|
||||
_isLoading = false;
|
||||
_instance._isLoading = false;
|
||||
|
||||
_instance.PrepareGit();
|
||||
_instance.PrepareShellOrTerminal();
|
||||
|
@ -629,8 +628,8 @@ namespace SourceGit.ViewModels
|
|||
}
|
||||
|
||||
private static Preferences _instance = null;
|
||||
private static bool _isLoading = false;
|
||||
|
||||
private bool _isLoading = true;
|
||||
private bool _isReadonly = true;
|
||||
private string _locale = "en_US";
|
||||
private string _theme = "Default";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue