diff --git a/JL.Windows/Utilities/WindowsUtils.cs b/JL.Windows/Utilities/WindowsUtils.cs index 5f28b36a..1e728b88 100644 --- a/JL.Windows/Utilities/WindowsUtils.cs +++ b/JL.Windows/Utilities/WindowsUtils.cs @@ -617,7 +617,6 @@ public static void CopyTextToClipboard(string? text) } bool captureTextFromClipboard = CoreConfigManager.CaptureTextFromClipboard; - CoreConfigManager.CaptureTextFromClipboard = false; if (captureTextFromClipboard) { WinApi.UnsubscribeFromClipboardChanged(MainWindow.Instance.WindowHandle); @@ -639,7 +638,6 @@ public static void CopyTextToClipboard(string? text) } } while (retry); - CoreConfigManager.CaptureTextFromClipboard = captureTextFromClipboard; if (captureTextFromClipboard) { WinApi.SubscribeToClipboardChanged(MainWindow.Instance.WindowHandle);