Skip to content

Commit 3e1572a

Browse files
committed
Fixed an issue where Omnibar gains the focus when Refresh/Home button clicked
1 parent 6a80bcd commit 3e1572a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Files.App/UserControls/NavigationToolbar.xaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@
112112
AutomationProperties.FullDescription="{x:Bind Commands.NavigateBack.Description, Mode=OneWay}"
113113
AutomationProperties.Name="{x:Bind Commands.NavigateBack.Label, Mode=OneWay}"
114114
Command="{x:Bind Commands.NavigateBack, Mode=OneWay}"
115-
IsEnabled="{x:Bind Commands.NavigateBack.IsExecutable, Mode=OneWay}"
116115
Style="{StaticResource AddressToolbarButtonStyle}"
117116
ToolTipService.ToolTip="{x:Bind Commands.NavigateBack.LabelWithHotKey, Mode=OneWay}">
118117
<FontIcon FontSize="14" Glyph="{x:Bind Commands.NavigateBack.Glyph.BaseGlyph, Mode=OneTime}" />
@@ -142,7 +141,6 @@
142141
AutomationProperties.FullDescription="{x:Bind Commands.NavigateForward.Description, Mode=OneWay}"
143142
AutomationProperties.Name="{x:Bind Commands.NavigateForward.Label, Mode=OneWay}"
144143
Command="{x:Bind Commands.NavigateForward, Mode=OneWay}"
145-
IsEnabled="{x:Bind Commands.NavigateForward.IsExecutable, Mode=OneWay}"
146144
Style="{StaticResource AddressToolbarButtonStyle}"
147145
ToolTipService.ToolTip="{x:Bind Commands.NavigateForward.LabelWithHotKey, Mode=OneWay}">
148146
<FontIcon FontSize="14" Glyph="{x:Bind Commands.NavigateForward.Glyph.BaseGlyph, Mode=OneTime}" />
@@ -172,7 +170,6 @@
172170
AutomationProperties.FullDescription="{x:Bind Commands.NavigateUp.Description, Mode=OneWay}"
173171
AutomationProperties.Name="{x:Bind Commands.NavigateUp.Label, Mode=OneWay}"
174172
Command="{x:Bind Commands.NavigateUp, Mode=OneWay}"
175-
IsEnabled="{x:Bind Commands.NavigateUp.IsExecutable, Mode=OneWay}"
176173
Style="{StaticResource AddressToolbarButtonStyle}"
177174
ToolTipService.ToolTip="{x:Bind Commands.NavigateUp.LabelWithHotKey, Mode=OneWay}">
178175
<FontIcon FontSize="14" Glyph="{x:Bind Commands.NavigateUp.Glyph.BaseGlyph, Mode=OneTime}" />
@@ -184,7 +181,6 @@
184181
AccessKeyInvoked="Button_AccessKeyInvoked"
185182
AutomationProperties.Name="{x:Bind Commands.RefreshItems.Label, Mode=OneWay}"
186183
Command="{x:Bind Commands.RefreshItems, Mode=OneWay}"
187-
IsEnabled="{x:Bind Commands.RefreshItems.IsExecutable, Mode=OneWay}"
188184
Style="{StaticResource AddressToolbarButtonStyle}"
189185
ToolTipService.ToolTip="{x:Bind Commands.RefreshItems.LabelWithHotKey, Mode=OneWay}">
190186
<FontIcon FontSize="14" Glyph="{x:Bind Commands.RefreshItems.Glyph.BaseGlyph, Mode=OneTime}" />
@@ -197,7 +193,6 @@
197193
AccessKeyInvoked="Button_AccessKeyInvoked"
198194
AutomationProperties.Name="{x:Bind Commands.NavigateHome.Label, Mode=OneWay}"
199195
Command="{x:Bind Commands.NavigateHome, Mode=OneWay}"
200-
IsEnabled="{x:Bind Commands.NavigateHome.IsExecutable, Mode=OneWay}"
201196
Style="{StaticResource AddressToolbarButtonStyle}"
202197
ToolTipService.ToolTip="{x:Bind Commands.NavigateHome.LabelWithHotKey, Mode=OneWay}">
203198
<FontIcon FontSize="14" Glyph="{x:Bind Commands.NavigateHome.Glyph.BaseGlyph, Mode=OneTime}" />

0 commit comments

Comments
 (0)