This commit is contained in:
Marshall Lochbaum 2016-08-21 23:22:46 -04:00
parent 994c6e35d9
commit 2aef26c58b

View File

@ -272,8 +272,8 @@ class CompletionView(QTreeView):
if old_model is not None:
old_model.deleteLater()
if (config.get('completion', 'show') == 'always'
and model.count() > 0):
if (config.get('completion', 'show') == 'always' and
model.count() > 0):
self.show()
else:
self.hide()