Revert "Adapting to new screen-shot command"
This reverts commit 1b7918f45099275a6c0bb340f3b525b65c9dae9d.
This commit is contained in:
parent
3e3ecb49e2
commit
c45d7d5665
1 changed files with 7 additions and 2 deletions
|
@ -58,7 +58,12 @@
|
|||
<command>nasal</command>
|
||||
<script>
|
||||
gui.popdown();
|
||||
fgcommand("screen-capture");
|
||||
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 ~ "'");
|
||||
</script>
|
||||
</binding>
|
||||
</item>
|
||||
|
@ -563,7 +568,7 @@
|
|||
</binding>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<item>
|
||||
<label>Reload HUD</label>
|
||||
<binding>
|
||||
<command>reinit</command>
|
||||
|
|
Loading…
Add table
Reference in a new issue