File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Plugins/Flow.Launcher.Plugin.BrowserBookmark/Views Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
- using Flow . Launcher . Plugin . BrowserBookmark . Models ;
1
+ using Flow . Launcher . Plugin . BrowserBookmark . Models ;
2
2
using Flow . Launcher . Plugin . BrowserBookmark . ViewModels ;
3
3
using System . Windows ;
4
+ using System . Windows . Input ;
4
5
using KeyEventArgs = System . Windows . Input . KeyEventArgs ;
5
6
6
7
namespace Flow . Launcher . Plugin . BrowserBookmark . Views ;
7
8
8
- /// <summary>
9
- /// Interaction logic for CustomBrowserSetting.xaml
10
- /// </summary>
11
9
public partial class CustomBrowserSetting : Window
12
10
{
13
11
private readonly CustomBrowserSettingViewModel _viewModel ;
@@ -25,11 +23,11 @@ public CustomBrowserSetting(CustomBrowser browser)
25
23
26
24
private void WindowKeyDown ( object sender , KeyEventArgs e )
27
25
{
28
- if ( e . Key == System . Windows . Input . Key . Enter )
26
+ if ( e . Key == Key . Enter )
29
27
{
30
28
_viewModel . SaveCommand . Execute ( null ) ;
31
29
}
32
- else if ( e . Key == System . Windows . Input . Key . Escape )
30
+ else if ( e . Key == Key . Escape )
33
31
{
34
32
_viewModel . CancelCommand . Execute ( null ) ;
35
33
}
You can’t perform that action at this time.
0 commit comments