Remove unneeded 'return'

This commit is contained in:
Florian Bruhin 2016-08-03 09:07:12 +02:00
parent a49c524b00
commit 79d2116b18

View File

@ -87,7 +87,7 @@ class CommandDispatcher:
def _set_current_index(self, idx):
"""Convenience method to set the current widget index."""
cmdutils.check_overflow(idx, 'int')
return self._tabbed_browser.setCurrentIndex(idx)
self._tabbed_browser.setCurrentIndex(idx)
def _current_index(self):
"""Convenience method to get the current widget index."""