mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 06:57:36 -06:00
FIX:Fixed crash issue on mac without plugin
Change-Id: I19f82037c58d61c3286f6a029b007e1199fb87cf
This commit is contained in:
parent
f64b42e3d2
commit
0713945e02
1 changed files with 1 additions and 1 deletions
|
@ -2370,7 +2370,7 @@ void MainFrame::init_menubar_as_editor()
|
|||
m_menubar->Append(helpMenu, wxString::Format("&%s", _L("Help")));
|
||||
SetMenuBar(m_menubar);
|
||||
|
||||
if (wxGetApp().getAgent()->is_user_login()) {
|
||||
if (wxGetApp().getAgent() && wxGetApp().getAgent()->is_user_login()) {
|
||||
int identifier;
|
||||
int result = wxGetApp().getAgent()->get_user_info(&identifier);
|
||||
auto publish_identifier = identifier & 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue