mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-15 20:45:57 +08:00
FIX:Fixed crash issue on mac without plugin
Change-Id: I19f82037c58d61c3286f6a029b007e1199fb87cf
This commit is contained in:
parent
f64b42e3d2
commit
0713945e02
@ -2370,7 +2370,7 @@ void MainFrame::init_menubar_as_editor()
|
|||||||
m_menubar->Append(helpMenu, wxString::Format("&%s", _L("Help")));
|
m_menubar->Append(helpMenu, wxString::Format("&%s", _L("Help")));
|
||||||
SetMenuBar(m_menubar);
|
SetMenuBar(m_menubar);
|
||||||
|
|
||||||
if (wxGetApp().getAgent()->is_user_login()) {
|
if (wxGetApp().getAgent() && wxGetApp().getAgent()->is_user_login()) {
|
||||||
int identifier;
|
int identifier;
|
||||||
int result = wxGetApp().getAgent()->get_user_info(&identifier);
|
int result = wxGetApp().getAgent()->get_user_info(&identifier);
|
||||||
auto publish_identifier = identifier & 1;
|
auto publish_identifier = identifier & 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user