mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 03:13:39 +00:00
FIX: remove some warnings
jira: [none] Change-Id: I0e74b7316d0efe38c65e1f695b2a09eb09103552 (cherry picked from commit 766c6e004145325bcc7a6addfce27842ee9504de)
This commit is contained in:
@@ -160,7 +160,7 @@ void MonitorPanel::init_timer()
|
||||
m_refresh_timer = new wxTimer();
|
||||
m_refresh_timer->SetOwner(this);
|
||||
m_refresh_timer->Start(REFRESH_INTERVAL);
|
||||
wxPostEvent(this, wxTimerEvent());
|
||||
if (update_flag) { update_all();}
|
||||
}
|
||||
|
||||
void MonitorPanel::init_tabpanel()
|
||||
@@ -411,7 +411,7 @@ bool MonitorPanel::Show(bool show)
|
||||
m_refresh_timer->Stop();
|
||||
m_refresh_timer->SetOwner(this);
|
||||
m_refresh_timer->Start(REFRESH_INTERVAL);
|
||||
wxPostEvent(this, wxTimerEvent());
|
||||
if (update_flag) { update_all(); }
|
||||
|
||||
if (dev) {
|
||||
//set a default machine when obj is null
|
||||
|
||||
Reference in New Issue
Block a user