1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-12 13:24:09 +02:00

Fixed line paste in normal text boxes

This commit is contained in:
Brian Fiete 2020-09-16 15:57:03 -07:00
parent 8c2352517c
commit ada1aceef1

View file

@ -2043,7 +2043,7 @@ namespace Beefy.widgets
public void PasteText(String text, String extra) public void PasteText(String text, String extra)
{ {
if (extra == "line") if ((extra == "line") && (mAllowVirtualCursor))
{ {
UndoBatchStart undoBatchStart = new UndoBatchStart("paste"); UndoBatchStart undoBatchStart = new UndoBatchStart("paste");
mData.mUndoManager.Add(undoBatchStart); mData.mUndoManager.Add(undoBatchStart);