If you have e.g. all but dvb disabled and forgot to plug in your usb
adapter the wizard would crash upon you as no inputs are defined and the
looping assumes there is at least one. Ideally a message should be shown
to indicate that you need inputs, but a wizard displaying a mostly empty
page is far better than a crash to discover your mistake.
for (idx = 0; idx < ARRAY_SIZE(props); idx++)
w->props[idx] = props[idx];
+ if (!tvh_inputs.lh_first)
+ return page;
+
for (ti = LIST_LAST(tvh_input_t, &tvh_inputs, ti_link); ti;
ti = LIST_PREV(ti, tvh_input_t, &tvh_inputs, ti_link)) {
if (ti->ti_wizard_get == NULL)