Remove unneeded 'return'
This commit is contained in:
parent
a49c524b00
commit
79d2116b18
@ -87,7 +87,7 @@ class CommandDispatcher:
|
|||||||
def _set_current_index(self, idx):
|
def _set_current_index(self, idx):
|
||||||
"""Convenience method to set the current widget index."""
|
"""Convenience method to set the current widget index."""
|
||||||
cmdutils.check_overflow(idx, 'int')
|
cmdutils.check_overflow(idx, 'int')
|
||||||
return self._tabbed_browser.setCurrentIndex(idx)
|
self._tabbed_browser.setCurrentIndex(idx)
|
||||||
|
|
||||||
def _current_index(self):
|
def _current_index(self):
|
||||||
"""Convenience method to get the current widget index."""
|
"""Convenience method to get the current widget index."""
|
||||||
|
Loading…
Reference in New Issue
Block a user