mirror of
https://github.com/kwsch/pkNX.git
synced 2026-09-14 05:25:12 -05:00
Clear before adding items on reload
This commit is contained in:
@@ -54,6 +54,7 @@ public GenericEditor(Func<GenericEditor<T>, DataCache<T>> loadCache, Func<T, int
|
||||
// Reload editor
|
||||
Cache = loadCache(this);
|
||||
Names = Cache.LoadAll().Select(nameSelector).ToArray();
|
||||
CB_EntryName.Items.Clear();
|
||||
CB_EntryName.Items.AddRange(Names);
|
||||
|
||||
System.Media.SystemSounds.Asterisk.Play();
|
||||
|
||||
Reference in New Issue
Block a user