mirror of
https://github.com/Stone-Red-Code/ClipCMD.git
synced 2026-09-04 08:56:11 +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 clipboard.ClearAsync();
|
||||
if (Settings.Current.Mode != ClipCmdMode.Clipboard && !Settings.Current.AutoPaste)
|
||||
{
|
||||
await clipboard.ClearAsync();
|
||||
}
|
||||
|
||||
lastText = string.Empty;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user