1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Fix: mAllowVirtualCursor check in PasteText()

This commit is contained in:
Chernyavsky Andrey 2025-05-17 11:51:25 +05:00
parent 8ba66f664b
commit 85dcba200f

View file

@ -2557,7 +2557,7 @@ namespace Beefy.widgets
void PasteFragment(String cursorText, StringView cursorExtra)
{
if ((cursorExtra.Length == 0) || (HasSelection()))
if ((cursorExtra.Length == 0) || (HasSelection()) || (!mAllowVirtualCursor))
{
PasteText(cursorText);
}