Update Title Immediately

This commit is contained in:
ema
2025-05-13 17:24:42 +08:00
parent 90b23cd1f8
commit ebcb223ef0

View File

@@ -69,7 +69,7 @@ public partial class ViewerWindow : INotifyPropertyChanged
case nameof(ContextObject.Title):
if (!string.IsNullOrWhiteSpace(ContextObject.Title))
{
Dispatcher.BeginInvoke(() =>
Dispatcher?.Invoke(() =>
{
// We can not update the Title anytime
// https://github.com/QL-Win/QuickLook/issues/1628