mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
ENH:update the entrance for model upload
Change-Id: I59a4a9d4802b31871601259c3a5766d789fc3b94
This commit is contained in:
parent
8e878ae92a
commit
cbb69c415a
4 changed files with 43 additions and 26 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue