Fix reset and reload not working

This commit is contained in:
MidoriKami 2024-01-28 17:55:49 -08:00 committed by KazWolfe
parent 9d6756fbca
commit 31c3c1ecc0
2 changed files with 3 additions and 3 deletions

View file

@ -2556,7 +2556,7 @@ internal class PluginInstallerWindow : Window, IDisposable
if (ImGui.MenuItem(Locs.PluginContext_DeletePluginConfigReload)) if (ImGui.MenuItem(Locs.PluginContext_DeletePluginConfigReload))
{ {
this.ShowDeletePluginConfigWarningModal(plugin.Name).ContinueWith(t => this.ShowDeletePluginConfigWarningModal(plugin.Manifest.InternalName).ContinueWith(t =>
{ {
var shouldDelete = t.Result; var shouldDelete = t.Result;
@ -2571,7 +2571,7 @@ internal class PluginInstallerWindow : Window, IDisposable
{ {
this.installStatus = OperationStatus.Idle; this.installStatus = OperationStatus.Idle;
this.DisplayErrorContinuation(task, Locs.ErrorModal_DeleteConfigFail(plugin.Name)); this.DisplayErrorContinuation(task, Locs.ErrorModal_DeleteConfigFail(plugin.Manifest.InternalName));
}); });
} }
}); });

View file

@ -1094,7 +1094,7 @@ internal partial class PluginManager : IDisposable, IServiceType
{ {
try try
{ {
this.PluginConfigs.Delete(plugin.Name); this.PluginConfigs.Delete(plugin.Manifest.InternalName);
break; break;
} }
catch (IOException) catch (IOException)