diff --git a/Aircraft/ufo/ufo.nas b/Aircraft/ufo/ufo.nas index 39644c8f6..40bba3214 100644 --- a/Aircraft/ufo/ufo.nas +++ b/Aircraft/ufo/ufo.nas @@ -1096,7 +1096,8 @@ showStatusDialog = func { name = "ufo-status-dialog"; if (contains(dialog, name)) { - closeModelSelectDialog(); + fgcommand("dialog-close", props.Node.new({ "dialog-name" : name })); + delete(dialog, name); return; } @@ -1138,3 +1139,5 @@ showStatusDialog = func { } +setlistener("/sim/signals/screenshot", showStatusDialog); +