Joachim Meyer 11 лет назад
Родитель
Сommit
8c56813e6e
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      Modules/Contents/UI/Source/PolyUITextInput.cpp

+ 1 - 0
Modules/Contents/UI/Source/PolyUITextInput.cpp

@@ -1655,6 +1655,7 @@ void UITextInput::Copy() {
 void UITextInput::Paste() {
 void UITextInput::Paste() {
 	saveUndoState();
 	saveUndoState();
 	String clip = CoreServices::getInstance()->getCore()->getClipboardString().replace("\r\n", "\n");
 	String clip = CoreServices::getInstance()->getCore()->getClipboardString().replace("\r\n", "\n");
+	clip = clip.replace("\r", "\n");
 	insertText(clip);
 	insertText(clip);
 }
 }