Disallow navigating away from a full-temp screen
This commit is contained in:
parent
acb99cfd7b
commit
67970da107
|
@ -2373,8 +2373,9 @@ static int screen_set_exec(bContext *C, wmOperator *op)
|
|||
int delta = RNA_int_get(op->ptr, "delta");
|
||||
|
||||
/* temp screens are for userpref or render display */
|
||||
if (screen->temp)
|
||||
if (screen->temp || (sa->full && sa->full->temp)) {
|
||||
return OPERATOR_CANCELLED;
|
||||
}
|
||||
|
||||
if (delta == 1) {
|
||||
while (tot--) {
|
||||
|
|
Loading…
Reference in New Issue