mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 19:12:17 +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);
|
Label *storage_text = new Label(m_storage_panel);
|
||||||
|
|
||||||
if (storages[i] == "emmc")
|
if (storages[i] == "emmc")
|
||||||
|
{
|
||||||
storage_text->SetLabel(_L("Internal Storage"));
|
storage_text->SetLabel(_L("Internal Storage"));
|
||||||
|
storage_text->SetForegroundColour(StateColor::darkModeColorFor(wxColour("#000000")));
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
storage_text->SetLabel(_L("External Storage"));
|
storage_text->SetLabel(_L("External Storage"));
|
||||||
|
storage_text->SetForegroundColour(StateColor::darkModeColorFor(wxColour("#000000")));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//radiobox->SetLabel(storages[i]);
|
//radiobox->SetLabel(storages[i]);
|
||||||
if (storages[i] != "emmc" && m_if_has_sdcard == false)
|
if (storages[i] != "emmc" && m_if_has_sdcard == false)
|
||||||
{
|
{
|
||||||
storage_text->SetLabel(_L("External Storage"));
|
storage_text->SetLabel(_L("External Storage"));
|
||||||
radiobox->Disable();
|
radiobox->Disable();
|
||||||
storage_text->SetForegroundColour(wxColour("#CECECE"));
|
storage_text->SetForegroundColour(StateColor::darkModeColorFor(wxColour("#CECECE")));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user