Fix small bug because result was not declared
This commit is contained in:
parent
6f610e9c44
commit
22133beb72
@ -225,6 +225,7 @@ class CommandDispatcher:
|
|||||||
count: The tab index to close, or None
|
count: The tab index to close, or None
|
||||||
"""
|
"""
|
||||||
tab = self._cntwidget(count)
|
tab = self._cntwidget(count)
|
||||||
|
result = True
|
||||||
if tab is None:
|
if tab is None:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user