Fix small bug because result was not declared

This commit is contained in:
thuck 2016-11-06 18:24:33 +01:00
parent 6f610e9c44
commit 22133beb72

View File

@ -225,6 +225,7 @@ class CommandDispatcher:
count: The tab index to close, or None
"""
tab = self._cntwidget(count)
result = True
if tab is None:
return