Fix line size

This commit is contained in:
thuck 2017-03-19 14:03:24 +01:00
parent a254097558
commit 2eb07fc9cc

View File

@ -496,8 +496,8 @@ class TabBar(QTabBar):
return size
# If we *do* have enough space, tabs should occupy the whole window
# width. If there is pinned tabs their size will be substracted from
# the total window width.
# width. If there is pinned tabs their size will be substracted
# from the total window width.
# During shutdown the self.count goes down,
# but the self.pinned_count not - this generates some odd behavior.
# To avoid this we compare self.count against self.pinned_count.