1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-26 03:28:02 +02:00

Fixed whitespace copying issue

This commit is contained in:
Brian Fiete 2020-07-19 05:46:50 -07:00
parent 50cff34fc6
commit b8340dfdc6

View file

@ -2004,11 +2004,8 @@ namespace Beefy.widgets
{
String selText = scope String();
GetSelectionText(selText);
if (!selText.IsWhiteSpace)
{
BFApp.sApp.SetClipboardText(selText);
DeleteSelection();
}
BFApp.sApp.SetClipboardText(selText);
DeleteSelection();
}
}
@ -2016,8 +2013,7 @@ namespace Beefy.widgets
{
String selText = scope String();
GetSelectionText(selText);
if (!selText.IsWhiteSpace)
BFApp.sApp.SetClipboardText(selText);
BFApp.sApp.SetClipboardText(selText);
}
public void PasteText()