Fix T71474: Temporary image editor cancels to file editor after file operation
This commit is contained in:
parent
19c44ae087
commit
b962253ed1
Notes:
blender-bot
2023-02-14 08:38:14 +01:00
Referenced by issue #71474, 2.82. Fullscreen filebrowser don't goes away
|
@ -243,6 +243,11 @@ ScrArea *render_view_open(bContext *C, int mx, int my, ReportList *reports)
|
|||
}
|
||||
}
|
||||
|
||||
if ((sima->flag & SI_PREVSPACE) && sima->next) {
|
||||
SpaceLink *old_sl = sima->next;
|
||||
old_sl->link_flag |= SPACE_FLAG_TYPE_WAS_ACTIVE;
|
||||
}
|
||||
|
||||
return sa;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue