mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
When we close a display, mark it as not-initialized so that we will
properly open it again next time. Submitted by: Trent Nelson <trent@arpa.com>
This commit is contained in:
parent
3c3871e5e6
commit
319e2a24de
1 changed files with 1 additions and 0 deletions
|
|
@ -119,6 +119,7 @@ command(cmd)
|
|||
goto done;
|
||||
alarm(0);
|
||||
(*curcmd->c_close)(wnd);
|
||||
curcmd->c_flags &= ~CF_INIT;
|
||||
wnd = (*p->c_open)();
|
||||
if (wnd == 0) {
|
||||
error("Couldn't open new display");
|
||||
|
|
|
|||
Loading…
Reference in a new issue