FIX: fix cannot connect to server
Change-Id: Id3a4e2316c4f9a513b6acffda0bf08636441990b
This commit is contained in:
parent
7bcd4d3a50
commit
0df07fcfde
|
@ -1962,6 +1962,8 @@ bool GUI_App::on_init_inner()
|
||||||
// Suppress the '- default -' presets.
|
// Suppress the '- default -' presets.
|
||||||
preset_bundle->set_default_suppressed(true);
|
preset_bundle->set_default_suppressed(true);
|
||||||
|
|
||||||
|
Bind(EVT_USER_LOGIN, &GUI_App::on_user_login, this);
|
||||||
|
|
||||||
on_init_network();
|
on_init_network();
|
||||||
|
|
||||||
//BBS if load user preset failed
|
//BBS if load user preset failed
|
||||||
|
@ -2063,7 +2065,7 @@ bool GUI_App::on_init_inner()
|
||||||
//#endif //__APPLE__
|
//#endif //__APPLE__
|
||||||
|
|
||||||
Bind(EVT_HTTP_ERROR, &GUI_App::on_http_error, this);
|
Bind(EVT_HTTP_ERROR, &GUI_App::on_http_error, this);
|
||||||
Bind(EVT_USER_LOGIN, &GUI_App::on_user_login, this);
|
|
||||||
|
|
||||||
Bind(wxEVT_IDLE, [this](wxIdleEvent& event)
|
Bind(wxEVT_IDLE, [this](wxIdleEvent& event)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue