mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 06:57:36 -06:00
FIX:fixed the issue publish menu being added twice
Change-Id: Id414e281749a08a285344eec818d03dc6af3846d
This commit is contained in:
parent
93a0d3a4ca
commit
8f498c7665
1 changed files with 0 additions and 7 deletions
|
@ -2380,13 +2380,6 @@ void MainFrame::init_menubar_as_editor()
|
|||
m_menubar->Append(helpMenu, wxString::Format("&%s", _L("Help")));
|
||||
SetMenuBar(m_menubar);
|
||||
|
||||
if (wxGetApp().getAgent() && wxGetApp().getAgent()->is_user_login()) {
|
||||
int identifier;
|
||||
int result = wxGetApp().getAgent()->get_user_info(&identifier);
|
||||
auto publish_identifier = identifier & 1;
|
||||
show_publish_button(publish_identifier == 0 ? false : true);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef _MSW_DARK_MODE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue