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:
parent
50cff34fc6
commit
b8340dfdc6
1 changed files with 3 additions and 7 deletions
|
@ -2004,19 +2004,15 @@ namespace Beefy.widgets
|
|||
{
|
||||
String selText = scope String();
|
||||
GetSelectionText(selText);
|
||||
if (!selText.IsWhiteSpace)
|
||||
{
|
||||
BFApp.sApp.SetClipboardText(selText);
|
||||
DeleteSelection();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void CopyText()
|
||||
{
|
||||
String selText = scope String();
|
||||
GetSelectionText(selText);
|
||||
if (!selText.IsWhiteSpace)
|
||||
BFApp.sApp.SetClipboardText(selText);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue