Permalink
Browse files

Get tab indicator fix from #697

  • Loading branch information...
The-Compiler committed Jun 6, 2016
1 parent 7651b3a commit 3e22f64a20a52004d1927829b9cc31f5d6b3dcde
Showing with 4 additions and 0 deletions.
  1. +1 −0 CHANGELOG.asciidoc
  2. +3 −0 qutebrowser/browser/commands.py
View
@@ -79,6 +79,7 @@ Fixed
- Fixed qutebrowser not starting when `sys.stderr` is `None`
- Fixed crash when cancelling a download which belongs to a MHTML download
- Fixed rebinding of keybindings being case-sensitive
+- Fix for tab indicators getting lost when moving tabs
v0.6.2
------
@@ -995,9 +995,12 @@ def tab_move(self, direction: str=None, count=None):
cmdutils.check_overflow(new_idx, 'int')
self._tabbed_browser.setUpdatesEnabled(False)
try:
+ color = self._tabbed_browser.tabBar().tab_data(
+ cur_idx, 'indicator-color')
self._tabbed_browser.removeTab(cur_idx)
self._tabbed_browser.insertTab(new_idx, tab, icon, label)
self._set_current_index(new_idx)
+ self._tabbed_browser.set_tab_indicator_color(new_idx, color)
finally:
self._tabbed_browser.setUpdatesEnabled(True)

0 comments on commit 3e22f64

Please sign in to comment.