fix: don't export saved style

This commit is contained in:
goat 2021-09-27 18:25:24 +02:00
parent cc26765533
commit 547573fa31
No known key found for this signature in database
GPG key ID: F18F057873895461

View file

@ -140,7 +140,9 @@ namespace Dalamud.Interface.Internal.Windows.StyleEditor
if (ImGuiComponents.IconButton(FontAwesomeIcon.FileExport))
{
var newStyle = config.SavedStyles[this.currentSel];
var selectedStyle = config.SavedStyles[this.currentSel];
var newStyle = StyleModel.Get();
newStyle.Name = selectedStyle.Name;
ImGui.SetClipboardText(newStyle.ToEncoded());
}