Adapting to new screen-shot command
Success/error report is now automatically displayed by a listener. Thanks Gijs!
This commit is contained in:
parent
5c10b7204b
commit
9077868e27
1 changed files with 2 additions and 7 deletions
|
@ -58,12 +58,7 @@
|
|||
<command>nasal</command>
|
||||
<script>
|
||||
gui.popdown();
|
||||
var success = fgcommand("screen-capture");
|
||||
var path = getprop("/sim/paths/screenshot-last");
|
||||
if (success)
|
||||
gui.popupTip("Screenshot written to '" ~ path ~ "'");
|
||||
else
|
||||
gui.popupTip("Error writing screenshot '" ~ path ~ "'");
|
||||
fgcommand("screen-capture");
|
||||
</script>
|
||||
</binding>
|
||||
</item>
|
||||
|
@ -574,7 +569,7 @@
|
|||
</binding>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<item>
|
||||
<label>Reload HUD</label>
|
||||
<binding>
|
||||
<command>reinit</command>
|
||||
|
|
Loading…
Add table
Reference in a new issue