Skip to content

Commit ebcb223

Browse files
committed
Update Title Immediately
1 parent 90b23cd commit ebcb223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

QuickLook/ViewerWindow.Properties.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ private void ContextObject_PropertyChanged(object sender, PropertyChangedEventAr
6969
case nameof(ContextObject.Title):
7070
if (!string.IsNullOrWhiteSpace(ContextObject.Title))
7171
{
72-
Dispatcher.BeginInvoke(() =>
72+
Dispatcher?.Invoke(() =>
7373
{
7474
// We can not update the Title anytime
7575
// https://github.com/QL-Win/QuickLook/issues/1628

0 commit comments

Comments
 (0)