mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-21 07:17:45 +01:00
fix: don't export saved style
This commit is contained in:
parent
cc26765533
commit
547573fa31
1 changed files with 3 additions and 1 deletions
|
|
@ -140,7 +140,9 @@ namespace Dalamud.Interface.Internal.Windows.StyleEditor
|
||||||
|
|
||||||
if (ImGuiComponents.IconButton(FontAwesomeIcon.FileExport))
|
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());
|
ImGui.SetClipboardText(newStyle.ToEncoded());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue