ENH: jump to monitor->device-status after sending print task

Change-Id: Id94e1d153c1462941460914dc5bac54f6fa85133
This commit is contained in:
tao.jin 2022-09-23 13:27:41 +08:00 committed by Lane.Wei
parent 41508fc5ad
commit 3ad719cd50
2 changed files with 14 additions and 0 deletions

View file

@ -8954,6 +8954,10 @@ void Plater::print_job_finished(wxCommandEvent &evt)
p->hide_select_machine_dlg();
p->main_frame->request_select_tab(MainFrame::TabPosition::tpMonitor);
//jump to monitor and select device status panel
MonitorPanel* curr_monitor = p->main_frame->m_monitor;
if(curr_monitor)
curr_monitor->get_tabpanel()->ChangeSelection(MonitorPanel::PrinterTab::PT_STATUS);
}
// Called when the Eject button is pressed.