mirror of
https://github.com/Stone-Red-Code/ClipCMD.git
synced 2026-09-07 15:56:09 +02:00
Don't clear clipboard when auto paste disabled
This commit is contained in:
@@ -123,7 +123,10 @@ public class ClipCmdCommandHandler(Window window)
|
|||||||
await Output("Command not found!");
|
await Output("Command not found!");
|
||||||
}
|
}
|
||||||
|
|
||||||
await clipboard.ClearAsync();
|
if (Settings.Current.Mode != ClipCmdMode.Clipboard && !Settings.Current.AutoPaste)
|
||||||
|
{
|
||||||
|
await clipboard.ClearAsync();
|
||||||
|
}
|
||||||
|
|
||||||
lastText = string.Empty;
|
lastText = string.Empty;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user