gpui: Add exit in tab title update loop (#40628)
Release Notes: - N/A --------- Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
This commit is contained in:
@@ -411,7 +411,8 @@ impl SystemWindowTabController {
|
|||||||
for windows in controller.tab_groups.values_mut() {
|
for windows in controller.tab_groups.values_mut() {
|
||||||
for tab in windows.iter_mut() {
|
for tab in windows.iter_mut() {
|
||||||
if tab.id == id {
|
if tab.id == id {
|
||||||
tab.title = title.clone();
|
tab.title = title;
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user