mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-20 11:44:59 +00:00
fix: layout do not updated after group was collapsed
This commit is contained in:
parent
f904b3b71a
commit
91d73e2aa4
2 changed files with 3 additions and 5 deletions
|
@ -392,8 +392,7 @@ namespace SourceGit.Views
|
|||
{
|
||||
if (e.Property == TreeView.ItemsSourceProperty || e.Property == TreeView.IsVisibleProperty)
|
||||
{
|
||||
if (sender is TreeView tree && tree.IsVisible)
|
||||
UpdateLeftSidebarLayout();
|
||||
UpdateLeftSidebarLayout();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -401,8 +400,7 @@ namespace SourceGit.Views
|
|||
{
|
||||
if (e.Property == DataGrid.ItemsSourceProperty || e.Property == DataGrid.IsVisibleProperty)
|
||||
{
|
||||
if (sender is DataGrid datagrid && datagrid.IsVisible)
|
||||
UpdateLeftSidebarLayout();
|
||||
UpdateLeftSidebarLayout();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue