From 6ed0741339d50dac4ad69a6f6865295b1bbcab4e Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Sat, 26 Oct 2024 14:57:28 +0800 Subject: [PATCH] Bug fix https://github.com/2dust/v2rayN/issues/5923 --- v2rayN/v2rayN/Views/MainWindow.xaml.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/v2rayN/v2rayN/Views/MainWindow.xaml.cs b/v2rayN/v2rayN/Views/MainWindow.xaml.cs index aab6877d..c323486b 100644 --- a/v2rayN/v2rayN/Views/MainWindow.xaml.cs +++ b/v2rayN/v2rayN/Views/MainWindow.xaml.cs @@ -284,6 +284,8 @@ namespace v2rayN.Views switch (e.Key) { case Key.V: + if (_backupAndRestoreView?.IsVisible == true) return; + var clipboardData = WindowsUtils.GetClipboardData(); ViewModel?.AddServerViaClipboardAsync(clipboardData); break;