mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
ENH:update the entrance for model upload
Change-Id: I59a4a9d4802b31871601259c3a5766d789fc3b94
This commit is contained in:
@@ -2993,18 +2993,10 @@ void GUI_App::update_label_colours_from_appconfig()
|
||||
void GUI_App::update_publish_status()
|
||||
{
|
||||
if (app_config->get_country_code() == "CN") {
|
||||
#ifdef __WINDOWS__
|
||||
mainframe->m_topbar->show_publish_button(false);
|
||||
#else
|
||||
mainframe->show_publish_button(false);
|
||||
#endif
|
||||
}
|
||||
else {
|
||||
#ifdef __WINDOWS__
|
||||
mainframe->m_topbar->show_publish_button(true);
|
||||
#else
|
||||
mainframe->show_publish_button(true);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user