mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX:fixed some issue with send print and ams ui
Change-Id: I1a37bad6ec1f193f9fd98c74506b3bb0358ece6d
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user