mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-23 05:05:24 +00:00
FIX: Hidden Model Mall Entrance
Change-Id: Ia15182a2c44fcb35c5d66fe7949c1ed32c90aefd
This commit is contained in:
@@ -2538,7 +2538,7 @@ void StatusPanel::update_subtask(MachineObject *obj)
|
||||
|
||||
m_project_task_panel->enable_abort_button(false);
|
||||
m_project_task_panel->enable_pause_resume_button(false, "resume_disable");
|
||||
|
||||
if (wxGetApp().has_model_mall()) {
|
||||
bool is_market_task = obj->get_modeltask() && obj->get_modeltask()->design_id > 0;
|
||||
if (is_market_task) {
|
||||
m_project_task_panel->get_market_scoring_button()->Show();
|
||||
@@ -2562,6 +2562,7 @@ void StatusPanel::update_subtask(MachineObject *obj)
|
||||
} else {
|
||||
m_project_task_panel->get_market_scoring_button()->Hide();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
m_project_task_panel->enable_abort_button(true);
|
||||
m_project_task_panel->get_market_scoring_button()->Hide();
|
||||
|
||||
Reference in New Issue
Block a user