Fix completion when deleting command
This commit is contained in:
parent
d71147898b
commit
1b46c96192
@ -206,7 +206,7 @@ class CommandRunner(QObject):
|
||||
A split string commandline, e.g ['open', 'www.google.com']
|
||||
"""
|
||||
cmdstr, sep, argstr = text.partition(' ')
|
||||
if not cmdstr:
|
||||
if not cmdstr and not fallback:
|
||||
raise cmdexc.NoSuchCommandError("No command given")
|
||||
if aliases:
|
||||
new_cmd = self._get_alias(text, alias_no_args)
|
||||
|
Loading…
Reference in New Issue
Block a user