diff options
Diffstat (limited to 'src/libui_sdl/DlgWifiSettings.cpp')
-rw-r--r-- | src/libui_sdl/DlgWifiSettings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libui_sdl/DlgWifiSettings.cpp b/src/libui_sdl/DlgWifiSettings.cpp index c1acb35..e16ce50 100644 --- a/src/libui_sdl/DlgWifiSettings.cpp +++ b/src/libui_sdl/DlgWifiSettings.cpp @@ -168,7 +168,7 @@ void Open() } LAN_Socket::Init(); - haspcap = LAN_PCap::Init(); + haspcap = LAN_PCap::Init(false); opened = true; win = uiNewWindow("Wifi settings - melonDS", 400, 100, 0, 0, 0); @@ -253,10 +253,10 @@ void Open() } uiComboboxSetSelected(cmAdapterList, sel); UpdateAdapterInfo(); - UpdateAdapterControls(); uiCheckboxSetChecked(cbDirectLAN, Config::DirectLAN); if (!haspcap) uiControlDisable(uiControl(cbDirectLAN)); + UpdateAdapterControls(); uiControlShow(uiControl(win)); } |