mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-03-12 22:36:03 -06:00
FIX:change translation
jira:[none] Change-Id: Ife277664dab5ad85cd39825ee1e163b21e5765a2 (cherry picked from commit d8fd4e23acf946c4c9adfd3c03642433dba27eb4)
This commit is contained in:
parent
bfd8a0cbd7
commit
7c7d80479d
1 changed files with 4 additions and 5 deletions
|
|
@ -28,12 +28,9 @@ ThermalPreconditioningDialog::ThermalPreconditioningDialog(wxWindow *parent, std
|
|||
m_refresh_timer->Start(1000);
|
||||
|
||||
// Set remaining time
|
||||
if (!remaining_time.IsEmpty()) {
|
||||
m_remaining_time_label->SetLabelText(wxString::Format(_L("Remaining time: %s"), remaining_time));
|
||||
} else {
|
||||
m_remaining_time_label->SetLabelText(_L("Remaining time: Calculating..."));
|
||||
}
|
||||
m_remaining_time_label->SetLabelText(_L("Remaining time: Calculating..."));
|
||||
|
||||
Layout();
|
||||
// Set dialog size and position
|
||||
SetSize(wxSize(FromDIP(400), FromDIP(200)));
|
||||
wxGetApp().UpdateDlgDarkUI(this);
|
||||
|
|
@ -106,6 +103,8 @@ void ThermalPreconditioningDialog::update_thermal_remaining_time()
|
|||
}
|
||||
|
||||
if (m_remaining_time_label) m_remaining_time_label->SetLabelText(remaining_time);
|
||||
|
||||
Layout();
|
||||
}
|
||||
|
||||
void ThermalPreconditioningDialog::on_timer(wxTimerEvent &event) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue