mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Fix build without UPnP
There is no checkbox.
This commit is contained in:
@ -354,7 +354,9 @@ void NetPlaySetupFrame::OnChoice(wxCommandEvent& event)
|
||||
{
|
||||
m_host_port_lbl->Hide();
|
||||
m_host_port_text->Hide();
|
||||
#ifdef USE_UPNP
|
||||
m_upnp_chk->Hide();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -380,7 +382,9 @@ void NetPlaySetupFrame::OnChoice(wxCommandEvent& event)
|
||||
// Server tab
|
||||
m_host_port_lbl->Show();
|
||||
m_host_port_text->Show();
|
||||
#ifdef USE_UPNP
|
||||
m_upnp_chk->Show();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user