From fc5ab535522f6c37dd482dc24223c84ba48e3cab Mon Sep 17 00:00:00 2001 From: mfranz Date: Tue, 9 May 2006 09:41:52 +0000 Subject: [PATCH] - hide status line in screenshots - fix status dialog closing --- Aircraft/ufo/ufo.nas | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); +