1
0
Fork 0

gui/menubar.xml: support greying-out of video-start/stop menu items.

Added enabled tags to video-start and video-stop. These are set to true/false
by C++ code depending on whether we are encoding to video or not. [There
doesn't seem to be a way of doing this directly in xml - expressions are not
supported in menu items?]
This commit is contained in:
Julian Smith 2021-12-22 21:16:21 +00:00
parent e34ca35910
commit 96ad1dc1f9

View file

@ -50,6 +50,7 @@
<item> <item>
<name>video-start</name> <name>video-start</name>
<enabled>true</enabled>
<binding> <binding>
<command>nasal</command> <command>nasal</command>
<script> <script>
@ -60,6 +61,7 @@
<item> <item>
<name>video-stop</name> <name>video-stop</name>
<enabled>false</enabled>
<binding> <binding>
<command>nasal</command> <command>nasal</command>
<script> <script>