mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-15 09:32:09 +00:00
ENH:display preview images of more models
jira:[STUDIO-9353] Change-Id: I1e1c23df196c43ae702078dce20f4fc86a02d047 (cherry picked from commit 881de812d8ddfcd33d67c68dcd26f8e81cfca5a4)
This commit is contained in:
@@ -2923,6 +2923,11 @@ void SelectMachineDialog::on_selection_changed(wxCommandEvent &event)
|
||||
}
|
||||
|
||||
if (obj && !obj->get_lan_mode_connection_state()) {
|
||||
|
||||
// update image
|
||||
auto printer_img_name = "printer_preview_" + obj->printer_type;
|
||||
m_printer_image->SetBitmap(create_scaled_bitmap(printer_img_name, this, 52));
|
||||
|
||||
obj->command_get_version();
|
||||
obj->command_request_push_all();
|
||||
if (!dev->get_selected_machine()) {
|
||||
|
||||
Reference in New Issue
Block a user