hints: fix corner-case in _hint_strings

This commit is contained in:
Jakub Klinkovský 2016-08-09 18:04:29 +02:00
parent ec5387c674
commit 108d735e07

View File

@ -394,6 +394,8 @@ class HintManager(QObject):
Return:
A list of hint strings, in the same order as the elements.
"""
if not elems:
return []
hint_mode = self._context.hint_mode
if hint_mode == 'word':
try: