mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Fix Refresh Data and Reload Files.
This commit is contained in:
parent
577669b21f
commit
e9ab9a71a8
2 changed files with 2 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ public class ModFileEditor
|
|||
|
||||
public void Revert(Mod mod, ISubMod option)
|
||||
{
|
||||
_files.UpdatePaths(mod, option);
|
||||
_files.UpdateAll(mod, option);
|
||||
Changes = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -369,7 +369,7 @@ public partial class ModEditWindow : Window, IDisposable
|
|||
|
||||
ImGui.SameLine();
|
||||
if (ImGuiUtil.DrawDisabledButton("Refresh Data", width, "Refresh data for the current option.\nThis resets unsaved changes.", false))
|
||||
_editor.LoadOption(_editor.GroupIdx, _editor.OptionIdx);
|
||||
_editor.LoadMod(_editor.Mod!, _editor.GroupIdx, _editor.OptionIdx);
|
||||
|
||||
ImGui.SameLine();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue