mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
ENH:change SD card to external storage
jira:[none ] Change-Id: Ia8fb38151f75433344a085196728752d2fe6f159 (cherry picked from commit 6c7b61fcd8aefd9ad9da56da8b55e0c06865a677)
This commit is contained in:
@@ -2095,7 +2095,6 @@ void StatusPanel::update_camera_state(MachineObject* obj)
|
||||
{
|
||||
if (!obj) return;
|
||||
|
||||
//m_bitmap_sdcard_abnormal_img->SetToolTip(_L("SD Card Abnormal"));
|
||||
//sdcard
|
||||
if (m_last_sdcard != (int)obj->get_sdcard_state()) {
|
||||
if (obj->get_sdcard_state() == MachineObject::SdcardState::NO_SDCARD) {
|
||||
@@ -4766,7 +4765,7 @@ void StatusPanel::on_camera_enter(wxMouseEvent& event)
|
||||
m_camera_popup->Bind(EVT_SDCARD_ABSENT_HINT, [this](wxCommandEvent &e) {
|
||||
if (sdcard_hint_dlg == nullptr) {
|
||||
sdcard_hint_dlg = new SecondaryCheckDialog(this->GetParent(), wxID_ANY, _L("Warning"), SecondaryCheckDialog::ButtonStyle::ONLY_CONFIRM);
|
||||
sdcard_hint_dlg->update_text(_L("Can't start this without SD card."));
|
||||
sdcard_hint_dlg->update_text(_L("Can't start this without storage."));
|
||||
}
|
||||
sdcard_hint_dlg->on_show();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user