1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-30 10:36:42 +00:00

Correctly insert pasted text at cursor position

This commit is contained in:
scrawl 2014-04-25 10:01:03 +02:00
parent 91e50585ff
commit f05606657c

View file

@ -484,7 +484,7 @@ namespace MWInput
if (text) if (text)
{ {
edit->addText(MyGUI::UString(text)); edit->insertText(MyGUI::UString(text), edit->getTextCursor());
SDL_free(text); SDL_free(text);
} }
} }