Fix some bugs, add clipboard options to meta changes.

This commit is contained in:
Ottermandias 2022-05-18 23:03:32 +02:00
parent 0c3c7ea363
commit 9bceed3d57
7 changed files with 106 additions and 45 deletions

View file

@ -430,6 +430,12 @@ public partial class ModEditWindow : Window, IDisposable
return;
}
if( ImGui.Button( "Refresh" ) )
{
_editor!.Dispose();
_editor = new Mod.Editor( _mod! );
}
if( _editor!.UnusedFiles.Count == 0 )
{
ImGui.NewLine();
@ -437,6 +443,7 @@ public partial class ModEditWindow : Window, IDisposable
}
else
{
ImGui.SameLine();
if( ImGui.Button( "Add Unused Files to Default" ) )
{
_editor.AddUnusedPathsToDefault();