Skip to content

Commit bb71a2a

Browse files
committed
Fix popuplist show that sometimes missed
1 parent 098b2be commit bb71a2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/ExcelDna.IntelliSense/UIMonitor/PopupListWatcher.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ void _windowWatcher_PopupListWindowChanged(object sender, WindowWatcher.WindowCh
8080
_popupList = AutomationElement.FromHandle(_hwndPopupList);
8181
// We set up the structure changed handler so that we can catch the sub-list creation
8282
InstallEventHandlers();
83-
UpdateSelectedItem();
8483
}
84+
UpdateSelectedItem();
8585
break;
8686
case WindowWatcher.WindowChangedEventArgs.ChangeType.Hide:
8787
Logger.WindowWatcher.Verbose($"PopupList window hide");

0 commit comments

Comments
 (0)