File tree Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,7 @@ public partial class HotkeyControl : UserControl
18
18
19
19
public event EventHandler HotkeyChanged ;
20
20
21
- protected virtual void OnHotkeyChanged ( )
22
- {
23
- EventHandler handler = HotkeyChanged ;
24
-
25
- if ( handler != null )
26
- handler ( this , EventArgs . Empty ) ;
27
- }
21
+ protected virtual void OnHotkeyChanged ( ) => HotkeyChanged ? . Invoke ( this , EventArgs . Empty ) ;
28
22
29
23
public HotkeyControl ( )
30
24
{
Original file line number Diff line number Diff line change 46
46
<system : String x : Key =" browserMorePlugins" >Find more plugins</system : String >
47
47
<system : String x : Key =" enable" >Enable</system : String >
48
48
<system : String x : Key =" disable" >Disable</system : String >
49
- <system : String x : Key =" actionKeywords" >Query </system : String >
49
+ <system : String x : Key =" actionKeywords" >Action keyword: </system : String >
50
50
<system : String x : Key =" currentActionKeywords" >Current action keyword:</system : String >
51
51
<system : String x : Key =" newActionKeyword" >New action keyword:</system : String >
52
52
<system : String x : Key =" currentPriority" >Current Priority:</system : String >
73
73
<system : String x : Key =" openResultModifiers" >Open Result Modifiers</system : String >
74
74
<system : String x : Key =" showOpenResultHotkey" >Show Hotkey</system : String >
75
75
<system : String x : Key =" customQueryHotkey" >Custom Query Hotkey</system : String >
76
+ <system : String x : Key =" customQuery" >Query</system : String >
76
77
<system : String x : Key =" delete" >Delete</system : String >
77
78
<system : String x : Key =" edit" >Edit</system : String >
78
79
<system : String x : Key =" add" >Add</system : String >
Original file line number Diff line number Diff line change 365
365
</DataTemplate >
366
366
</GridViewColumn .CellTemplate>
367
367
</GridViewColumn >
368
- <GridViewColumn Header =" {DynamicResource actionKeywords }" Width =" 546" >
368
+ <GridViewColumn Header =" {DynamicResource customQuery }" Width =" 546" >
369
369
<GridViewColumn .CellTemplate>
370
370
<DataTemplate DataType =" userSettings:CustomPluginHotkey" >
371
371
<TextBlock Text =" {Binding ActionKeyword}" />
You can’t perform that action at this time.
0 commit comments