mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 00:52:04 +00:00
FIX:change dark mode color of send page
jira:[none] Change-Id: I21e4d76628315944f55e3df17b40208aa63fd9ec (cherry picked from commit f66994b1bb1bc95739b1a9b8952f82d62abf0a36)
This commit is contained in:
@@ -629,16 +629,23 @@ void SendToPrinterDialog::update_storage_list(const std::vector<std::string> &st
|
||||
Label *storage_text = new Label(m_storage_panel);
|
||||
|
||||
if (storages[i] == "emmc")
|
||||
{
|
||||
storage_text->SetLabel(_L("Internal Storage"));
|
||||
storage_text->SetForegroundColour(StateColor::darkModeColorFor(wxColour("#000000")));
|
||||
}
|
||||
else
|
||||
{
|
||||
storage_text->SetLabel(_L("External Storage"));
|
||||
storage_text->SetForegroundColour(StateColor::darkModeColorFor(wxColour("#000000")));
|
||||
}
|
||||
|
||||
|
||||
//radiobox->SetLabel(storages[i]);
|
||||
if (storages[i] != "emmc" && m_if_has_sdcard == false)
|
||||
{
|
||||
storage_text->SetLabel(_L("External Storage"));
|
||||
radiobox->Disable();
|
||||
storage_text->SetForegroundColour(wxColour("#CECECE"));
|
||||
storage_text->SetForegroundColour(StateColor::darkModeColorFor(wxColour("#CECECE")));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user