mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 04:04:59 +00:00
fix: COMMIT & PUSH
should hide when there's no remotes available (#956)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
8edd955370
commit
8ed7a99923
3 changed files with 11 additions and 0 deletions
|
@ -26,6 +26,12 @@ namespace SourceGit.ViewModels
|
|||
}
|
||||
}
|
||||
|
||||
public bool HasRemotes
|
||||
{
|
||||
get => _hasRemotes;
|
||||
set => SetProperty(ref _hasRemotes, value);
|
||||
}
|
||||
|
||||
public bool HasUnsolvedConflicts
|
||||
{
|
||||
get => _hasUnsolvedConflicts;
|
||||
|
@ -1619,6 +1625,7 @@ namespace SourceGit.ViewModels
|
|||
private bool _isUnstaging = false;
|
||||
private bool _isCommitting = false;
|
||||
private bool _useAmend = false;
|
||||
private bool _hasRemotes = false;
|
||||
private List<Models.Change> _cached = [];
|
||||
private List<Models.Change> _unstaged = [];
|
||||
private List<Models.Change> _staged = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue