mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 22:24:01 -06:00
FIX: [STUDIO-3090] export error string to file panel
Change-Id: Ifabff9646dfcf19da9188edfb2447b33c8c1089e
This commit is contained in:
parent
75545c65cd
commit
10988f0bae
2 changed files with 8 additions and 0 deletions
|
@ -277,6 +277,7 @@ void MediaFilePanel::SetMachineObject(MachineObject* obj)
|
|||
case PrinterFileSystem::ListSyncing: icon = m_bmp_loading; msg = _L("Loading file list..."); break;
|
||||
case PrinterFileSystem::ListReady: icon = extra == 0 ? m_bmp_empty : m_bmp_failed; msg = extra == 0 ? _L("No files [%d]") : _L("Load failed [%d]"); break;
|
||||
}
|
||||
if (!e.GetString().IsEmpty()) msg = e.GetString();
|
||||
if (fs->GetCount() == 0 && !msg.empty())
|
||||
m_image_grid->SetStatus(icon, msg);
|
||||
if (e.GetInt() == PrinterFileSystem::Initializing)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue