Fix bug where selecting text in a dialog crashes the app

This commit is contained in:
Yoshi Askharoun
2025-09-01 16:16:05 -07:00
parent 1e7e3ed58a
commit 1715a4cee2
@@ -24,7 +24,7 @@ public class SelectableTextBlock : TextBlock
_startSelectPosition = GetPositionFromPoint(mouseDownPoint, true);
// TODO: Is there any better way to allow text to be selected?
Clipboard.SetText(Text);
System.Windows.Forms.Clipboard.SetText(Text);
}
protected override void OnMouseUp(MouseButtonEventArgs e)