mirror of
https://github.com/2dust/v2rayN.git
synced 2025-08-23 11:26:54 +00:00
parent
606b216cd0
commit
7bec05ec23
1 changed files with 5 additions and 0 deletions
|
@ -20,6 +20,7 @@ public partial class SubSettingWindow : WindowBase<SubSettingViewModel>
|
|||
InitializeComponent();
|
||||
|
||||
menuClose.Click += menuClose_Click;
|
||||
Loaded += Window_Loaded;
|
||||
this.Closing += SubSettingWindow_Closing;
|
||||
this.KeyDown += SubSettingWindow_KeyDown;
|
||||
ViewModel = new SubSettingViewModel(UpdateViewHandler);
|
||||
|
@ -116,4 +117,8 @@ public partial class SubSettingWindow : WindowBase<SubSettingViewModel>
|
|||
menuClose_Click(null, null);
|
||||
}
|
||||
}
|
||||
private void Window_Loaded(object? sender, RoutedEventArgs e)
|
||||
{
|
||||
lstSubscription.Focus();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue