Skip to content

Commit 9823fc3

Browse files
committed
Update NavigationToolbarViewModel.cs
1 parent bd6ee17 commit 9823fc3

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,18 @@ public bool IsSearchBoxVisible
206206
}
207207
}
208208

209+
// SetProperty doesn't seem to properly notify the binding in path bar
209210
private string? _PathText;
210-
public string? PathText { get => _PathText; set => SetProperty(ref _PathText, value); }
211+
public string? PathText
212+
{
213+
get => _PathText;
214+
set
215+
{
216+
_PathText = value;
217+
OnPropertyChanged(nameof(PathText));
218+
}
219+
}
220+
211221

212222
private bool _IsOmnibarFocused;
213223
public bool IsOmnibarFocused

0 commit comments

Comments
 (0)