FIX: day of finish time does not show on mac
Jira: STUDIO-9696 Change-Id: Ib39954a0d9ea92bb70a7154fe75b94237dd784c8
This commit is contained in:
parent
a4388010bd
commit
7cf078094c
|
@ -2965,6 +2965,7 @@ void CreatePrinterPresetDialog::set_current_visible_printer()
|
|||
{
|
||||
//The entire process of creating a custom printer only needs to be done once
|
||||
if (m_printer_name_to_preset.size() > 0) return;
|
||||
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << " entry";
|
||||
PresetBundle *preset_bundle = wxGetApp().preset_bundle;
|
||||
const std::deque<Preset> &printer_presets = preset_bundle->printers.get_presets();
|
||||
wxArrayString printer_choice;
|
||||
|
@ -2976,6 +2977,7 @@ void CreatePrinterPresetDialog::set_current_visible_printer()
|
|||
if (m_printer_name_to_preset.find(printer_model->value) == m_printer_name_to_preset.end()) {
|
||||
printer_choice.push_back(from_u8(printer_model->value));
|
||||
m_printer_name_to_preset[printer_model->value] = std::make_shared<Preset>(printer_preset);
|
||||
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << " add printer choice: " << printer_model->value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -763,6 +763,7 @@ void PrintingTaskPanel::create_panel(wxWindow* parent)
|
|||
m_staticText_finish_time->SetForegroundColour(wxColour(146, 146, 146));
|
||||
m_staticText_finish_time->SetToolTip(_L("The estimated printing time for \nmulti-color models may be inaccurate."));
|
||||
m_staticText_finish_day = new RectTextPanel(penel_finish_time);
|
||||
m_staticText_finish_day->SetMinSize(wxSize(20, 20));
|
||||
m_staticText_finish_day->Hide();
|
||||
bSizer_finish_time->Add(0, 0, 1, wxEXPAND, 0);
|
||||
bSizer_finish_time->Add(0, 0, 0, wxLEFT, FromDIP(20));
|
||||
|
|
Loading…
Reference in New Issue