hide network mode selection in quick start wizard if node is a hidden node

This commit is contained in:
electron128 2015-11-21 11:57:50 +01:00
parent 47328a4ec9
commit 4b84767250
2 changed files with 9 additions and 3 deletions

View file

@ -437,6 +437,12 @@ void QuickStartWizard::loadNetwork()
case RS_NETMODE_UDP:
netIndex = 1;
break;
case RS_NETMODE_HIDDEN:
ui.netModeLabel->hide();
ui.netModeComboBox->hide();
ui.discoveryLabel->hide();
ui.discoveryComboBox->hide();
break;
default:
case RS_NETMODE_UPNP:
netIndex = 0;