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: if old_model is not None:
old_model.deleteLater() old_model.deleteLater()
if (config.get('completion', 'show') == 'always' if (config.get('completion', 'show') == 'always' and
and model.count() > 0): model.count() > 0):
self.show() self.show()
else: else:
self.hide() self.hide()