FIX:miss "Printer not connected" case

jira: STUDIO-12166
Change-Id: I962a93f1127064816fd481dc3ad7be034e3de0f3
(cherry picked from commit 9eba9b8a2d91517f13cfa306fb41b06232910a13)
This commit is contained in:
zhou.xu
2025-05-14 15:37:46 +08:00
committed by Noisyfox
parent a37dbd6f1d
commit 0ad5ff27eb
2 changed files with 17 additions and 16 deletions

View File

@@ -570,7 +570,7 @@ public:
EMPTY_FILAMENT
};
void pop_warning_and_go_to_device_page(wxString printer_name, PrinterWarningType type, const wxString &title);
bool check_printer_initialized(MachineObject *obj, bool only_warning = false);
bool check_printer_initialized(MachineObject *obj, bool only_warning = false,bool popup_warning = true);
bool is_same_printer_for_connected_and_selected(bool popup_warning = true);
// BBS
//void show_action_buttons(const bool is_ready_to_slice) const;