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

Commit bce9496

Browse files
committed
combobox refreshes items on config change
1 parent 747840c commit bce9496

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

UI/MainWindowConfigHandler.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ public void ChangeConfig(int index)
6363
editor.InvalidateVisual();
6464
}
6565
}
66+
ObjectBrowserDirList.ItemsSource = Program.Configs[index].SMDirectories;
67+
ObjectBrowserDirList.Items.Refresh();
68+
ObjectBrowserDirList.SelectedIndex = 0;
6669
}
6770

6871
private void ChangeConfig(string name)

0 commit comments

Comments
 (0)