Read about our upcoming Code of Conduct on this issue

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(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