fix: update DockGroup to use DockTabItem and fix tab selection
This commit is contained in:
@@ -111,7 +111,7 @@ public partial class DockGroup : DockContainer
|
||||
|
||||
private void UpdateTabs()
|
||||
{
|
||||
if (_tabView == null) return;
|
||||
if (_tabView == null || Root == null) return;
|
||||
|
||||
var selectedDoc = _tabView.SelectedItem is TabViewItem selectedItem ? selectedItem.Tag as DockDocument : null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user