mirror of
https://github.com/2dust/v2rayN.git
synced 2025-05-03 13:48:52 +00:00
Do not execute keyboard shorcut on basic routing setting window.
This commit is contained in:
parent
2652beed88
commit
31bcbd0e13
1 changed files with 5 additions and 0 deletions
|
@ -88,6 +88,11 @@ namespace v2rayN.Views
|
||||||
|
|
||||||
private void RoutingSettingWindow_PreviewKeyDown(object sender, KeyEventArgs e)
|
private void RoutingSettingWindow_PreviewKeyDown(object sender, KeyEventArgs e)
|
||||||
{
|
{
|
||||||
|
if (ViewModel?.enableRoutingBasic ?? false)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (Keyboard.IsKeyDown(Key.LeftCtrl) || Keyboard.IsKeyDown(Key.RightCtrl))
|
if (Keyboard.IsKeyDown(Key.LeftCtrl) || Keyboard.IsKeyDown(Key.RightCtrl))
|
||||||
{
|
{
|
||||||
if (e.Key == Key.A)
|
if (e.Key == Key.A)
|
||||||
|
|
Loading…
Reference in a new issue