Get tab indicator fix from #697
This commit is contained in:
parent
7651b3a9f5
commit
3e22f64a20
@ -79,6 +79,7 @@ Fixed
|
|||||||
- Fixed qutebrowser not starting when `sys.stderr` is `None`
|
- Fixed qutebrowser not starting when `sys.stderr` is `None`
|
||||||
- Fixed crash when cancelling a download which belongs to a MHTML download
|
- Fixed crash when cancelling a download which belongs to a MHTML download
|
||||||
- Fixed rebinding of keybindings being case-sensitive
|
- Fixed rebinding of keybindings being case-sensitive
|
||||||
|
- Fix for tab indicators getting lost when moving tabs
|
||||||
|
|
||||||
v0.6.2
|
v0.6.2
|
||||||
------
|
------
|
||||||
|
@ -995,9 +995,12 @@ class CommandDispatcher:
|
|||||||
cmdutils.check_overflow(new_idx, 'int')
|
cmdutils.check_overflow(new_idx, 'int')
|
||||||
self._tabbed_browser.setUpdatesEnabled(False)
|
self._tabbed_browser.setUpdatesEnabled(False)
|
||||||
try:
|
try:
|
||||||
|
color = self._tabbed_browser.tabBar().tab_data(
|
||||||
|
cur_idx, 'indicator-color')
|
||||||
self._tabbed_browser.removeTab(cur_idx)
|
self._tabbed_browser.removeTab(cur_idx)
|
||||||
self._tabbed_browser.insertTab(new_idx, tab, icon, label)
|
self._tabbed_browser.insertTab(new_idx, tab, icon, label)
|
||||||
self._set_current_index(new_idx)
|
self._set_current_index(new_idx)
|
||||||
|
self._tabbed_browser.set_tab_indicator_color(new_idx, color)
|
||||||
finally:
|
finally:
|
||||||
self._tabbed_browser.setUpdatesEnabled(True)
|
self._tabbed_browser.setUpdatesEnabled(True)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user