Do not always set scope for panes because the window check might fail,

GitHub issue 1810.
This commit is contained in:
nicm 2019-06-23 10:00:29 +00:00
parent e3c2772d2f
commit f1100f97f7

View File

@ -784,7 +784,6 @@ options_scope_from_name(struct args *args, int window,
} }
break; break;
} }
scope = OPTIONS_TABLE_WINDOW;
/* FALLTHROUGH */ /* FALLTHROUGH */
case OPTIONS_TABLE_WINDOW: case OPTIONS_TABLE_WINDOW:
if (args_has(args, 'g')) { if (args_has(args, 'g')) {