mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
Fix flag export exception bug (#2063)
This commit is contained in:
parent
8a5a008cfb
commit
9b37ec18e8
@ -342,7 +342,7 @@ namespace Bloxstrap.UI.Elements.Menu.Pages
|
|||||||
private void ExportJSONButton_Click(object sender, RoutedEventArgs e)
|
private void ExportJSONButton_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
string json = JsonSerializer.Serialize(App.FastFlags.Prop, new JsonSerializerOptions { WriteIndented = true });
|
string json = JsonSerializer.Serialize(App.FastFlags.Prop, new JsonSerializerOptions { WriteIndented = true });
|
||||||
Clipboard.SetText(json);
|
Clipboard.SetDataObject(json);
|
||||||
Frontend.ShowMessageBox(Bloxstrap.Resources.Strings.Menu_FastFlagEditor_JsonCopiedToClipboard, MessageBoxImage.Information);
|
Frontend.ShowMessageBox(Bloxstrap.Resources.Strings.Menu_FastFlagEditor_JsonCopiedToClipboard, MessageBoxImage.Information);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user