- hide status line in screenshots
- fix status dialog closing
This commit is contained in:
parent
b73dec0724
commit
fc5ab53552
1 changed files with 4 additions and 1 deletions
|
@ -1096,7 +1096,8 @@ showStatusDialog = func {
|
||||||
name = "ufo-status-dialog";
|
name = "ufo-status-dialog";
|
||||||
|
|
||||||
if (contains(dialog, name)) {
|
if (contains(dialog, name)) {
|
||||||
closeModelSelectDialog();
|
fgcommand("dialog-close", props.Node.new({ "dialog-name" : name }));
|
||||||
|
delete(dialog, name);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1138,3 +1139,5 @@ showStatusDialog = func {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
setlistener("/sim/signals/screenshot", showStatusDialog);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue