Allow non-ASCII text to be pasted into textboxes

There is no end to the ASCII-isms >_>
This commit is contained in:
Tamás Bálint Misius 2019-12-28 13:09:05 +01:00 committed by mniip
parent a2a8c876b3
commit c40a6bf13f

View File

@ -181,7 +181,7 @@ void Textbox::cutSelection()
void Textbox::pasteIntoSelection()
{
String newText = format::CleanString(ClipboardPull().FromUtf8(), true, true, inputType != Multiline, inputType == Number || inputType == Numeric);
String newText = format::CleanString(ClipboardPull().FromUtf8(), false, true, inputType != Multiline, inputType == Number || inputType == Numeric);
if (HasSelection())
{
if (getLowerSelectionBound() < 0 || getHigherSelectionBound() > (int)backingText.length())