ENH: Do not display unavailable storage when sent to SD card

JIRA: STUDIO-9079
1. emmc for printer is unavailable
2. When the printer is not inserted with an SD card, it cannot send
   either

Change-Id: I59d2429ec2d13a5300e8bda46cb15f241fde614c
(cherry picked from commit d2096efe52704465f649c5b1846b3442ade8f078)
This commit is contained in:
Kunlong Ma
2024-12-04 15:21:48 +08:00
committed by Noisyfox
parent 5233702681
commit 853b496a4b
2 changed files with 26 additions and 11 deletions

View File

@@ -164,7 +164,7 @@ public:
void show_print_failed_info(bool show, int code = 0, wxString description = wxEmptyString, wxString extra = wxEmptyString);
void update_print_error_info(int code, std::string msg, std::string extra);
void on_change_color_mode() { wxGetApp().UpdateDlgDarkUI(this); }
void update_storage_list(std::vector<std::string> storages);
void update_storage_list(const std::vector<std::string>& storages);
std::string get_storage_selected();
wxString format_text(wxString& m_msg);