ENH:update the entrance for model upload

Change-Id: I59a4a9d4802b31871601259c3a5766d789fc3b94
This commit is contained in:
tao wang authored and Lane.Wei committed 2023-07-07 17:29:08 +08:00
1 parent 8e878ae92a
commit cbb69c415a
4 files changed
+43 -26

No files matched your search

-8
View File
@@ -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
}
}