FIX: send recent projects on login info msg on macOS
Jira: STUDIO-8648 Change-Id: Id6b7817b051234bb9e9d5c3b9afc7982b3d3cbd6
This commit is contained in:
parent
8e14262be2
commit
69e25831e1
|
@ -4069,6 +4069,14 @@ std::string GUI_App::handle_web_request(std::string cmd)
|
||||||
CallAfter([this] {
|
CallAfter([this] {
|
||||||
get_login_info();
|
get_login_info();
|
||||||
});
|
});
|
||||||
|
// TODO: Fix home page not emit get_recent_projects on macOS
|
||||||
|
#ifdef __WXOSX__
|
||||||
|
if (mainframe) {
|
||||||
|
if (mainframe->m_webview) {
|
||||||
|
mainframe->m_webview->SendRecentList(INT_MAX);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
else if (command_str.compare("homepage_login_or_register") == 0) {
|
else if (command_str.compare("homepage_login_or_register") == 0) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue