File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -67,10 +67,9 @@ def showPopup(self):
67
67
The .popup(), .lineEdit(), .completer() of the base class are not used.
68
68
"""
69
69
if self .__popup is not None :
70
- popup = self .__popup
71
- self .__popup = self .__proxy = None
72
- popup .hide ()
73
- popup .deleteLater ()
70
+ # We have user entered state that cannot be disturbed
71
+ # (entered filter text, scroll offset, ...)
72
+ return # pragma: no cover
74
73
75
74
if self .count () == 0 :
76
75
return
@@ -170,7 +169,7 @@ def hidePopup(self):
170
169
popup .deleteLater ()
171
170
172
171
# need to call base hidePopup even though the base showPopup was not
173
- # called (update internal state wrt. 'pressed' arrow, ...
172
+ # called (update internal state wrt. 'pressed' arrow, ...)
174
173
super ().hidePopup ()
175
174
self .__searchline .hide ()
176
175
self .update ()
You can’t perform that action at this time.
0 commit comments