mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-20 05:01:51 -04:00
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.
This commit is contained in:
1 parent
20e4f0cad3
commit
25b97df6eb
1 file changed
+1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user