Fix: UI: Editor window(s) title update when using interactive docking
When using Interactive Docking, window titles are not properly updated. This change makes sure they get updated in `area_join_modal`. Pull Request: https://projects.blender.org/blender/blender/pulls/126383
This commit is contained in:
committed by
Harley Acheson
parent
409abccadd
commit
13eb41959e
@@ -4221,6 +4221,14 @@ static int area_join_modal(bContext *C, wmOperator *op, const wmEvent *event)
|
||||
return OPERATOR_CANCELLED;
|
||||
}
|
||||
|
||||
/* Areas changed, update window titles. */
|
||||
if (jd->win2 && jd->win2 != jd->win1) {
|
||||
WM_window_title(CTX_wm_manager(C), jd->win2);
|
||||
}
|
||||
if (jd->win1 && !jd->close_win) {
|
||||
WM_window_title(CTX_wm_manager(C), jd->win1);
|
||||
}
|
||||
|
||||
const bool do_close_win = jd->close_win;
|
||||
wmWindow *close_win = jd->win1;
|
||||
area_join_exit(C, op);
|
||||
|
||||
Reference in New Issue
Block a user