mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
ENH:Reduce the number of page faults in AMS
Change-Id: I4bfb048ec62c35b515eecbb70c175fa0975d7f92 (cherry picked from commit 791be195475bd834c937fb63341713529e4f41b8)
This commit is contained in:
@@ -262,14 +262,6 @@ void MonitorPanel::select_machine(std::string machine_sn)
|
||||
wxQueueEvent(this, event);
|
||||
}
|
||||
|
||||
void MonitorPanel::on_update_all(wxMouseEvent &event)
|
||||
{
|
||||
if (update_flag) {
|
||||
update_all();
|
||||
Layout();
|
||||
Refresh();
|
||||
}
|
||||
}
|
||||
|
||||
void MonitorPanel::on_timer(wxTimerEvent& event)
|
||||
{
|
||||
@@ -306,7 +298,6 @@ void MonitorPanel::on_update_all(wxMouseEvent &event)
|
||||
}
|
||||
|
||||
Layout();
|
||||
Refresh();
|
||||
}
|
||||
|
||||
void MonitorPanel::on_printer_clicked(wxMouseEvent &event)
|
||||
|
||||
Reference in New Issue
Block a user