FIX: print button enable status [STUDIO-3136]

on all plates stats page, should disable print button

Change-Id: I27dbc87c6a3ffda8f58a8544aae71618bffb3272
This commit is contained in:
liz.li 2023-06-13 15:09:32 +08:00 committed by Lane.Wei
parent 059ea09353
commit 373152c78a
3 changed files with 10 additions and 1 deletions

View file

@ -1615,6 +1615,8 @@ void GLCanvas3D::enable_main_toolbar(bool enable)
void GLCanvas3D::reset_select_plate_toolbar_selection() {
if (m_sel_plate_toolbar.m_all_plates_stats_item)
m_sel_plate_toolbar.m_all_plates_stats_item->selected = false;
if (wxGetApp().mainframe)
wxGetApp().mainframe->update_slice_print_status(MainFrame::eEventSliceUpdate, true, true);
}
void GLCanvas3D::enable_select_plate_toolbar(bool enable)