Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
2dust committed Oct 26, 2024
1 parent e6b1e22 commit 6ed0741
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions v2rayN/v2rayN/Views/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,8 @@ private void MainWindow_PreviewKeyDown(object sender, KeyEventArgs e)
switch (e.Key)
{
case Key.V:
if (_backupAndRestoreView?.IsVisible == true) return;

var clipboardData = WindowsUtils.GetClipboardData();
ViewModel?.AddServerViaClipboardAsync(clipboardData);
break;
Expand Down

0 comments on commit 6ed0741

Please sign in to comment.