From 25b97df6ebab16b92bcfc5790bc39d4509bfbf44 Mon Sep 17 00:00:00 2001 From: Ryan Foster Date: Fri, 11 Aug 2023 16:29:57 -0400 Subject: [PATCH] UI: Update text for custom browser dock menu items manually Instead of relying on the dock's having their window title already set for the menu items to be updated, let's just manually update the menu item text ourselves when updating the item. --- UI/window-extra-browsers.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/UI/window-extra-browsers.cpp b/UI/window-extra-browsers.cpp index ce683ec29..37cfdce9c 100644 --- a/UI/window-extra-browsers.cpp +++ b/UI/window-extra-browsers.cpp @@ -180,6 +180,7 @@ void ExtraBrowsersModel::UpdateItem(Item &item) if (main->extraBrowserDockNames[idx] != item.title) { main->extraBrowserDockNames[idx] = item.title; + dock->toggleViewAction()->setText(item.title); } if (main->extraBrowserDockTargets[idx] != item.url) {