File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,8 @@ void NetworkSettingsWidget::eventModeDisabledState()
101
101
102
102
if (RASPBERRYPI_TYPE_SETTINGS == " 3B+" ) // if RaspberryPi is 3B+
103
103
{
104
-
104
+ ui->TwoFourGHZLabel ->setEnabled (true ); // Enable 2.4GHz label
105
+ ui->FiveGHZLabel ->setEnabled (true ); // Enable 5GHz label
105
106
if (INITIAL_CONNECTION_CONFIG.contains (" band=a" )) // If currently on 5GHz band
106
107
{
107
108
ui->toggleSwitch ->setChecked (true ); // 5GHz toggle side
@@ -118,6 +119,8 @@ void NetworkSettingsWidget::eventModeDisabledState()
118
119
{
119
120
ui->toggleSwitch ->setChecked (false ); // 2.4GHz toggle side
120
121
ui->toggleSwitch ->setEnabled (false ); // If 3B, can only use 2.4GHz
122
+ ui->TwoFourGHZLabel ->setEnabled (false ); // Grey out 2.4GHz label
123
+ ui->FiveGHZLabel ->setEnabled (false ); // Grey out 5GHz label
121
124
}
122
125
123
126
ui->connectionModeSelect ->clear ();
You can’t perform that action at this time.
0 commit comments