FIX: reset the stage
jira: [STUDIO-10862] Change-Id: I14c3c7c72a718159b67c7887a2646c5a7b015ff9
This commit is contained in:
parent
4f16cefc3d
commit
1b5061e773
|
@ -113,6 +113,7 @@ public:
|
|||
|
||||
bool is_finished() { return m_job_finished; }
|
||||
int get_print_stage() const { return m_print_stage;}
|
||||
void reset_print_stage() { m_print_stage = 0; }
|
||||
|
||||
void set_print_job_finished_event(int event_id, wxString evt_data = wxEmptyString) {
|
||||
m_print_job_completed_id = event_id;
|
||||
|
|
|
@ -2516,6 +2516,7 @@ void SelectMachineDialog::on_send_print()
|
|||
|
||||
// enter sending mode
|
||||
sending_mode();
|
||||
m_print_job->reset_print_stage();
|
||||
m_status_bar->enable_cancel_button();
|
||||
|
||||
// get ams_mapping_result
|
||||
|
|
Loading…
Reference in New Issue