mirror of
https://github.com/ZuneDev/ZuneModdingHelper.git
synced 2026-07-27 13:12:21 -07:00
Fix bug where selecting text in a dialog crashes the app
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user