ENH:add notification when sending gcode finished

Change-Id: I9a2dac701053591a1c0bd4d8b376ef07b31262f0
This commit is contained in:
tao wang 2022-11-22 15:53:38 +08:00 committed by Lane.Wei
parent df260dd724
commit 00ab44f0a0
4 changed files with 12 additions and 4 deletions

View file

@ -307,7 +307,7 @@ void SendJob::process()
BOOST_LOG_TRIVIAL(error) << "send_job: send ok.";
//m_success_fun();
wxCommandEvent* evt = new wxCommandEvent(m_print_job_completed_id);
evt->SetString(m_dev_id);
evt->SetString(params.project_name);
wxQueueEvent(m_plater, evt);
m_job_finished = true;
}