parent
64a61ce07f
commit
8643f6f28d
@ -234,6 +234,8 @@ class CompletionView(QTreeView):
|
|||||||
idx = self._next_category_idx(upwards=False)
|
idx = self._next_category_idx(upwards=False)
|
||||||
elif which == 'prev-category':
|
elif which == 'prev-category':
|
||||||
idx = self._next_category_idx(upwards=True)
|
idx = self._next_category_idx(upwards=True)
|
||||||
|
else: # pragma: no cover
|
||||||
|
raise ValueError("Invalid 'which' value {!r}".format(which))
|
||||||
|
|
||||||
if not idx.isValid():
|
if not idx.isValid():
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user