FIX:fixed the issue of multiple plates object card not flip pages
jira:[STUDIO-9373] Change-Id: I520b2626da8dc3acc066b2ea26a5f8d3c27f64fb
This commit is contained in:
parent
bc56a321ad
commit
aee0cb382b
|
@ -3656,8 +3656,7 @@ void SelectMachineDialog::set_default()
|
|||
set_default_normal(m_plater->get_partplate_list().get_curr_plate()->thumbnail_data);
|
||||
}
|
||||
else if (m_print_type == PrintFromType::FROM_SDCARD_VIEW) {
|
||||
//todo:unify_deal_thumbnail_data(input_data, no_light_data);this include m_print_type = PrintFromType::FROM_SDCARD_VIEW
|
||||
//and notice update_page_turn_state(true)
|
||||
update_page_turn_state(true);
|
||||
set_default_from_sdcard();
|
||||
}
|
||||
|
||||
|
@ -4325,21 +4324,21 @@ void SelectMachineDialog::set_default_from_sdcard()
|
|||
|
||||
void SelectMachineDialog::update_page_turn_state(bool show)
|
||||
{
|
||||
/* m_bitmap_last_plate->Show(show);
|
||||
m_bitmap_last_plate->Show(show);
|
||||
m_bitmap_next_plate->Show(show);
|
||||
|
||||
if (show) {
|
||||
if (m_print_plate_idx <= 0) { m_bitmap_last_plate->Hide(); }
|
||||
else { m_bitmap_last_plate->Show(); }
|
||||
if (m_print_plate_idx <= 0) { m_bitmap_last_plate->Disable(); }
|
||||
else { m_bitmap_last_plate->Enable(); }
|
||||
|
||||
if ((m_print_plate_idx + 1) >= m_print_plate_total) { m_bitmap_next_plate->Hide(); }
|
||||
else { m_bitmap_next_plate->Show(); }
|
||||
if ((m_print_plate_idx + 1) >= m_print_plate_total) { m_bitmap_next_plate->Disable(); }
|
||||
else { m_bitmap_next_plate->Enable(); }
|
||||
|
||||
if (m_print_plate_total == 1) {
|
||||
m_bitmap_last_plate->Show(false);
|
||||
m_bitmap_next_plate->Show(false);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
void SelectMachineDialog::sys_color_changed()
|
||||
|
|
Loading…
Reference in New Issue