mirror of https://github.com/PCSX2/pcsx2.git
DEV9: Properly disable/enable the DHCP label
This commit is contained in:
parent
346823f7c2
commit
5af5fe8387
|
@ -336,6 +336,7 @@ void DEV9SettingsWidget::onEthDeviceTypeChanged(int index)
|
|||
break;
|
||||
}
|
||||
|
||||
m_ui.ethInterceptDHCPLabel->setEnabled((m_adapter_options & AdapterOptions::DHCP_ForcedOn) == AdapterOptions::None);
|
||||
m_ui.ethInterceptDHCP->setEnabled((m_adapter_options & AdapterOptions::DHCP_ForcedOn) == AdapterOptions::None);
|
||||
onEthDHCPInterceptChanged(m_ui.ethInterceptDHCP->checkState());
|
||||
}
|
||||
|
|
|
@ -101,7 +101,7 @@
|
|||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_3">
|
||||
<widget class="QLabel" name="ethInterceptDHCPLabel">
|
||||
<property name="text">
|
||||
<string>Intercept DHCP:</string>
|
||||
</property>
|
||||
|
|
Loading…
Reference in New Issue