mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-25 14:15:00 +00:00
feature: remember the state of repository sidebar (#823)
This commit is contained in:
parent
7526def448
commit
5ec8279d38
4 changed files with 112 additions and 37 deletions
|
@ -275,6 +275,9 @@ namespace SourceGit.Views
|
|||
rows.RemoveRange(idx + 1, removeCount);
|
||||
}
|
||||
|
||||
var repo = DataContext as ViewModels.Repository;
|
||||
repo?.UpdateBranchNodeIsExpanded(node);
|
||||
|
||||
RaiseEvent(new RoutedEventArgs(RowsChangedEvent));
|
||||
_disableSelectionChangingEvent = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue