Fix templates serializing incorrectly for clipboard copies

This commit is contained in:
RisaDev
2025-02-27 19:40:20 +03:00
parent daca4df4d3
commit da678966b3
2 changed files with 7 additions and 5 deletions

View File

@@ -230,7 +230,7 @@ public class TemplatePanel : IDisposable
{
try
{
Clipboard.SetText(Base64Helper.ExportToBase64(_selector.Selected!, Constants.ConfigurationVersion));
Clipboard.SetText(Base64Helper.ExportTemplateToBase64(_selector.Selected!));
_popupSystem.ShowPopup(PopupSystem.Messages.ClipboardDataNotLongTerm);
}
catch (Exception ex)