Skip to content

Commit

Permalink
[videowizard] skip input selection when only one mode exist
Browse files Browse the repository at this point in the history
  • Loading branch information
Captain committed Apr 3, 2018
1 parent ac4a5ff commit 731337b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions data/videowizard.xml
@@ -1,6 +1,12 @@
<!--suppress XmlUnboundNsPrefix -->
<wizard>
<step id="inputselection" nextstep="modeselection" timeout="10" timeoutaction="selectnext">
<condition>
self.condition = len(self.listInputChannels()) > 1
if len(self.listInputChannels()) == 1:
self.selection = "HDMI"
self.inputSelectionMoved()
</condition>
<text value="Video input selection\n\nPlease press OK if you can see this page on your TV (or select a different input port).\n\nThe next input port will be automatically probed in 10 seconds." />
<displaytext value="Select video input with up/down buttons" />
<list type="dynamic" source="listInputChannels" evaluation="inputSelectionMade" onselect="inputSelectionMoved" />
Expand Down

0 comments on commit 731337b

Please sign in to comment.