Fix crash in INDI configuration window (#49)

This fixes a crash if the INDI configuration window is closed using the
window manager decorations.
This commit is contained in:
pidloop 2021-12-14 20:43:02 -07:00 committed by GitHub
parent 23fa71ba9f
commit 41e9ff8eac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -245,6 +245,7 @@ sc_create_w()
XtSetArg (args[n], XmNcolormap, xe_cm); n++;
XtSetArg (args[n], XmNtitle, "xephem INDI configuration"); n++;
XtSetArg (args[n], XmNiconName, "INDI conf"); n++;
XtSetArg (args[n], XmNdeleteResponse, XmUNMAP); n++;
scopeshell_w = XtCreatePopupShell ("INDIConfig",
topLevelShellWidgetClass, toplevel_w, args, n);
setup_icon (scopeshell_w);