From 1931b7ececcb3135c0e0243faf100f1bf2aeef3a Mon Sep 17 00:00:00 2001 From: Martijn de Vos Date: Fri, 8 Oct 2021 14:43:48 +0200 Subject: [PATCH] Fixed page title color inconsistency --- src/tribler-gui/tribler_gui/widgets/channelcontentswidget.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tribler-gui/tribler_gui/widgets/channelcontentswidget.py b/src/tribler-gui/tribler_gui/widgets/channelcontentswidget.py index b510e60b56a..02ac027056f 100644 --- a/src/tribler-gui/tribler_gui/widgets/channelcontentswidget.py +++ b/src/tribler-gui/tribler_gui/widgets/channelcontentswidget.py @@ -362,7 +362,7 @@ def update_navigation_breadcrumbs(self): breadcrumb_text = '' breadcrumb_text_undecorated = '' path_parts = [(m, model.channel_info["name"]) for m, model in enumerate(self.channels_stack)] - slash_separator = ' / ' + slash_separator = ' / ' for m, channel_name in reversed(path_parts): breadcrumb_text_undecorated = " / " + channel_name + breadcrumb_text_undecorated breadcrumb_text_elided = self.channel_name_label.fontMetrics().elidedText( @@ -373,7 +373,7 @@ def update_navigation_breadcrumbs(self): channel_name = "..." breadcrumb_text = ( slash_separator - + f'{channel_name}' + + f'{channel_name}' + breadcrumb_text ) if must_elide: