mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
FIX: Hidden Model Mall Entrance
Change-Id: Ia15182a2c44fcb35c5d66fe7949c1ed32c90aefd
This commit is contained in:
parent
270acd4685
commit
1b7050cc18
1 changed files with 22 additions and 21 deletions
|
@ -2538,7 +2538,7 @@ void StatusPanel::update_subtask(MachineObject *obj)
|
||||||
|
|
||||||
m_project_task_panel->enable_abort_button(false);
|
m_project_task_panel->enable_abort_button(false);
|
||||||
m_project_task_panel->enable_pause_resume_button(false, "resume_disable");
|
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;
|
bool is_market_task = obj->get_modeltask() && obj->get_modeltask()->design_id > 0;
|
||||||
if (is_market_task) {
|
if (is_market_task) {
|
||||||
m_project_task_panel->get_market_scoring_button()->Show();
|
m_project_task_panel->get_market_scoring_button()->Show();
|
||||||
|
@ -2562,6 +2562,7 @@ void StatusPanel::update_subtask(MachineObject *obj)
|
||||||
} else {
|
} else {
|
||||||
m_project_task_panel->get_market_scoring_button()->Hide();
|
m_project_task_panel->get_market_scoring_button()->Hide();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
m_project_task_panel->enable_abort_button(true);
|
m_project_task_panel->enable_abort_button(true);
|
||||||
m_project_task_panel->get_market_scoring_button()->Hide();
|
m_project_task_panel->get_market_scoring_button()->Hide();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue