mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-31 03:40:30 -07:00
FIX:change dark mode color of send page
jira:[none] Change-Id: I21e4d76628315944f55e3df17b40208aa63fd9ec (cherry picked from commit f66994b1bb1bc95739b1a9b8952f82d62abf0a36)
This commit is contained in:
parent
223eaa5d2f
commit
bf5a0c0084
1 changed files with 8 additions and 1 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue