Skip to content

Commit

Permalink
fix: upnp is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
tgragnato committed Nov 12, 2024
1 parent a4057cb commit b799c78
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/PrefsUnifiedDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -497,12 +497,6 @@ bool PrefsUnifiedDlg::TransferToWindow()
thePrefs::SetUPnPWebServerEnabled(false);
FindWindow(IDC_UPNP_EC_ENABLED)->Enable(false);
thePrefs::SetUPnPECEnabled(false);
#else
FindWindow(IDC_UPNPTCPPORT)->Enable(thePrefs::GetUPnPEnabled());
FindWindow(IDC_UPNPTCPPORTTEXT)->Enable(thePrefs::GetUPnPEnabled());
FindWindow(IDC_WEBUPNPTCPPORT)->Enable(thePrefs::GetUPnPWebServerEnabled());
FindWindow(IDC_WEBUPNPTCPPORTTEXT)->Enable(thePrefs::GetUPnPWebServerEnabled());
#endif

#ifdef __DEBUG__
// Set debugging toggles
Expand Down

0 comments on commit b799c78

Please sign in to comment.