This instance will be upgraded to Heptapod 0.27.1 on 2021-12-02 at 15:00 UTC+1 (a few minutes of down time)

Commit 796bb5a0 authored by Steve Borho's avatar Steve Borho
Browse files

settings: give QCompleter a parent widget

parent 39b433fb00fc
......@@ -32,8 +32,7 @@ class SettingsCombo(QComboBox):
self.setValidator(opts.get('validator', None))
self.defaults = opts.get('defaults', [])
if self.defaults and self.isEditable():
comp = QCompleter(self.defaults)
self.setCompleter(comp)
self.setCompleter(QCompleter(self.defaults, self))
self.curvalue = None
self.loaded = False
if 'nohist' in opts:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment