prevent other client's bug. fixes #2910
This commit is contained in:
parent
284066fe40
commit
290154189f
|
@ -442,7 +442,11 @@ class CommandWindow:
|
|||
|
||||
# no commands => no commands stage
|
||||
# commands => command selection stage
|
||||
items = response.getTag('query').getTags('item')
|
||||
query = response.getTag('query')
|
||||
if query:
|
||||
items = query.getTags('item')
|
||||
else:
|
||||
items = []
|
||||
if len(items)==0:
|
||||
self.commandlist = []
|
||||
self.stage4()
|
||||
|
|
Loading…
Reference in New Issue