Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit d286129

Browse files
committed
fix OB file/config dirs not updating when switching between files
1 parent d562a99 commit d286129

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

UI/MainWindow/MainWindow.xaml.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,12 @@ public MainWindow(SplashScreen sc)
141141
#region Events
142142
private void DockingManager_ActiveContentChanged(object sender, EventArgs e)
143143
{
144+
if (OBTabFile.IsSelected)
145+
{
146+
ListViewOBItem_SelectFile(OBTabFile, null);
147+
OBTabFile.IsSelected = true;
148+
}
149+
144150
UpdateWindowTitle();
145151
UpdateOBFileButton();
146152
}

0 commit comments

Comments
 (0)