From 14dacbaa927bd519f1f23b052d164241722f2926 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 2 Oct 2017 07:49:31 +0200 Subject: [PATCH] Fix typo --- qutebrowser/mainwindow/tabwidget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/mainwindow/tabwidget.py b/qutebrowser/mainwindow/tabwidget.py index 9d1ebd945..c5566f877 100644 --- a/qutebrowser/mainwindow/tabwidget.py +++ b/qutebrowser/mainwindow/tabwidget.py @@ -435,7 +435,7 @@ class TabBar(QTabBar): A QSize of the smallest tab size we can make. """ text = '\u2026' if ellipsis else self.tabText(index) - # Don't ever shorten if text is shorter than the elipsis + # Don't ever shorten if text is shorter than the ellipsis text_width = min(self.fontMetrics().width(text), self.fontMetrics().width(self.tabText(index))) icon = self.tabIcon(index)