Skip to content

Commit

Permalink
Fix flag export exception bug (#2063)
Browse files Browse the repository at this point in the history
  • Loading branch information
pizzaboxer committed Jun 30, 2024
1 parent 8a5a008 commit 9b37ec1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ private void ToggleButton_Click(object sender, RoutedEventArgs e)
private void ExportJSONButton_Click(object sender, RoutedEventArgs e)
{
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);
}

Expand Down

0 comments on commit 9b37ec1

Please sign in to comment.