Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions FrostyEditor/Windows/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -522,8 +522,7 @@ private void NewProject()

// clear all modifications
App.AssetManager.Reset();
dataExplorer.RefreshAll();
legacyExplorer.RefreshAll();
UpdateUI(true);

// create a new blank project
m_project = new FrostyProject();
Expand Down Expand Up @@ -644,7 +643,7 @@ private void LoadProject(string filename, bool saveProject)

m_project = newProject;

UpdateUI();
UpdateUI(true);

legacyExplorer.ShowOnlyModified = false;
legacyExplorer.ShowOnlyModified = true;
Expand Down Expand Up @@ -967,8 +966,8 @@ private void contextMenuRevert_Click(object sender, RoutedEventArgs e)

FrostyTaskWindow.Show("Reverting Asset", "", (task) => { App.AssetManager.RevertAsset(entry, suppressOnModify: false); });

dataExplorer.RefreshAll();
legacyExplorer.RefreshAll();
dataExplorer.RefreshAll(true);
legacyExplorer.RefreshAll(true);
}

private void contextMenuImportAsset_Click(object sender, RoutedEventArgs e)
Expand Down
Loading