mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 08:17:51 -06:00
FIX:fixed some issue with send print and ams ui
Change-Id: I1a37bad6ec1f193f9fd98c74506b3bb0358ece6d
This commit is contained in:
parent
67c2f5a285
commit
0db1b52b23
18 changed files with 292 additions and 32 deletions
|
@ -105,6 +105,7 @@ void BBLStatusBarSend::set_progress(int val)
|
|||
}
|
||||
m_prog->SetValue(val);
|
||||
set_percent_text(wxString::Format("%d%%", val));
|
||||
|
||||
m_sizer->Layout();
|
||||
}
|
||||
|
||||
|
@ -120,6 +121,11 @@ void BBLStatusBarSend::set_range(int val)
|
|||
}
|
||||
}
|
||||
|
||||
void BBLStatusBarSend::clear_percent()
|
||||
{
|
||||
set_percent_text(wxEmptyString);
|
||||
}
|
||||
|
||||
void BBLStatusBarSend::show_progress(bool show)
|
||||
{
|
||||
if (show) {
|
||||
|
@ -278,7 +284,6 @@ void BBLStatusBarSend::reset()
|
|||
set_percent_text(wxString::Format("%d%%", 0));
|
||||
}
|
||||
|
||||
|
||||
void BBLStatusBarSend::set_font(const wxFont &font)
|
||||
{
|
||||
m_self->SetFont(font);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue