]> git.ipfire.org Git - thirdparty/tvheadend.git/commit
Don't crash the wizard if tvh has no inputs
authorDavid Kalnischkies <david@kalnischkies.de>
Sat, 22 Oct 2022 11:17:50 +0000 (13:17 +0200)
committerFlole998 <Flole998@users.noreply.github.com>
Mon, 21 Nov 2022 01:33:44 +0000 (02:33 +0100)
commit0b8df3e2d55240d4b21ec5bdf20cc89b4a5e73b2
treeb5e2b9c294f7a48e48776ae7b253bdfa3131f989
parentf3376c764c3015279ec1b687bb017292a12d2d82
Don't crash the wizard if tvh has no inputs

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.
src/wizard.c