Removed handling of tab's position and color since it's done by QTabBar

This commit is contained in:
Maciej Wołczyk 2016-12-01 00:44:07 +01:00
parent 2fca442892
commit 63808fdb98

View File

@ -1031,10 +1031,7 @@ class CommandDispatcher:
cur_idx = self._current_index()
cmdutils.check_overflow(cur_idx, 'int')
cmdutils.check_overflow(new_idx, 'int')
color = self._tabbed_browser.tab_indicator_color(cur_idx)
self._tabbed_browser.tabBar().moveTab(cur_idx, new_idx)
self._set_current_index(new_idx)
self._tabbed_browser.set_tab_indicator_color(new_idx, color)
@cmdutils.register(instance='command-dispatcher', scope='window',
maxsplit=0, no_replace_variables=True)