Fl_MacOS_Sys_Menu_Bar_Driver::rename_window fails with null window labels (#1455)
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled

This commit is contained in:
ManoloFLTK
2026-06-13 16:32:31 +02:00
parent b31902e7cb
commit 24acdbf0b8
+1
View File
@@ -738,6 +738,7 @@ void Fl_MacOS_Sys_Menu_Bar_Driver::rename_window(Fl_Window *win)
if (!item->label()) return;
if (item->user_data() == win) {
item->label(win->iconlabel() ? win->iconlabel() : win->label());
if (!item->label()) item->label("");
bar->update();
return;
}