mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-17 08:24:59 +00:00
ux: move some buttons to page switcher (#1370)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
2aac6779a5
commit
40bf69bff3
16 changed files with 48 additions and 44 deletions
|
@ -272,12 +272,6 @@ namespace SourceGit.ViewModels
|
|||
return menu;
|
||||
}
|
||||
|
||||
public void Clear()
|
||||
{
|
||||
if (_repo.CanCreatePopup())
|
||||
_repo.ShowPopup(new ClearStashes(_repo));
|
||||
}
|
||||
|
||||
public void ClearSearchFilter()
|
||||
{
|
||||
SearchFilter = string.Empty;
|
||||
|
@ -303,8 +297,8 @@ namespace SourceGit.ViewModels
|
|||
}
|
||||
|
||||
private Repository _repo = null;
|
||||
private List<Models.Stash> _stashes = new List<Models.Stash>();
|
||||
private List<Models.Stash> _visibleStashes = new List<Models.Stash>();
|
||||
private List<Models.Stash> _stashes = [];
|
||||
private List<Models.Stash> _visibleStashes = [];
|
||||
private string _searchFilter = string.Empty;
|
||||
private Models.Stash _selectedStash = null;
|
||||
private List<Models.Change> _changes = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue