From 5af5fe838784262aca95fc3a58fb6d7166e356be Mon Sep 17 00:00:00 2001 From: TheLastRar Date: Tue, 16 Apr 2024 23:11:06 +0100 Subject: [PATCH] DEV9: Properly disable/enable the DHCP label --- pcsx2-qt/Settings/DEV9SettingsWidget.cpp | 1 + pcsx2-qt/Settings/DEV9SettingsWidget.ui | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pcsx2-qt/Settings/DEV9SettingsWidget.cpp b/pcsx2-qt/Settings/DEV9SettingsWidget.cpp index fc13b00cfea8e..6e49ea5a1711a 100644 --- a/pcsx2-qt/Settings/DEV9SettingsWidget.cpp +++ b/pcsx2-qt/Settings/DEV9SettingsWidget.cpp @@ -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()); } diff --git a/pcsx2-qt/Settings/DEV9SettingsWidget.ui b/pcsx2-qt/Settings/DEV9SettingsWidget.ui index 64bc05352ac94..b1cc2197820de 100644 --- a/pcsx2-qt/Settings/DEV9SettingsWidget.ui +++ b/pcsx2-qt/Settings/DEV9SettingsWidget.ui @@ -101,7 +101,7 @@ - + Intercept DHCP: