Fix T71474: Temporary image editor cancels to file editor after file operation

This commit is contained in:
Julian Eisel 2019-11-11 12:43:20 +01:00
parent 19c44ae087
commit b962253ed1

@ -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; return sa;
} }