FIX: [STUDIO-3154] The scoring pop-up only pops up once
Change-Id: Ie43e08b6431ffe5fe3575c0995b76cf41a10597e
This commit is contained in:
parent
26ec9ae385
commit
efa2cb7ca9
3 changed files with 6 additions and 1 deletions
|
@ -451,6 +451,7 @@ void MonitorPanel::on_update_all(wxMouseEvent &event)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
set_default();
|
set_default();
|
||||||
|
m_status_info_panel->set_print_finish_status(false);
|
||||||
update_all();
|
update_all();
|
||||||
|
|
||||||
MachineObject *obj_ = dev->get_selected_machine();
|
MachineObject *obj_ = dev->get_selected_machine();
|
||||||
|
|
|
@ -3585,6 +3585,10 @@ void StatusPanel::show_status(int status)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void StatusPanel::set_print_finish_status(bool is_finish) {
|
||||||
|
m_print_finish = is_finish;
|
||||||
|
}
|
||||||
|
|
||||||
void StatusPanel::set_hold_count(int& count)
|
void StatusPanel::set_hold_count(int& count)
|
||||||
{
|
{
|
||||||
if (obj) {
|
if (obj) {
|
||||||
|
|
|
@ -439,7 +439,7 @@ public:
|
||||||
|
|
||||||
void set_default();
|
void set_default();
|
||||||
void show_status(int status);
|
void show_status(int status);
|
||||||
|
void set_print_finish_status(bool is_finish);
|
||||||
void set_hold_count(int& count);
|
void set_hold_count(int& count);
|
||||||
|
|
||||||
void rescale_camera_icons();
|
void rescale_camera_icons();
|
||||||
|
|
Loading…
Reference in a new issue