FIX: calibration history dialog flickering
Change-Id: Ife2720553f1e67292d7e222bda89b0d7f417e382
This commit is contained in:
parent
28899c4b9a
commit
04c6964de4
|
@ -199,6 +199,7 @@ void HistoryWindow::reqeust_history_result(MachineObject* obj)
|
||||||
}
|
}
|
||||||
|
|
||||||
void HistoryWindow::sync_history_data() {
|
void HistoryWindow::sync_history_data() {
|
||||||
|
m_history_data_panel->Freeze();
|
||||||
m_history_data_panel->DestroyChildren();
|
m_history_data_panel->DestroyChildren();
|
||||||
wxGridBagSizer* gbSizer;
|
wxGridBagSizer* gbSizer;
|
||||||
gbSizer = new wxGridBagSizer(FromDIP(0), FromDIP(50));
|
gbSizer = new wxGridBagSizer(FromDIP(0), FromDIP(50));
|
||||||
|
@ -291,7 +292,8 @@ void HistoryWindow::sync_history_data() {
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
Layout();
|
m_history_data_panel->Layout();
|
||||||
|
m_history_data_panel->Thaw();
|
||||||
}
|
}
|
||||||
|
|
||||||
float HistoryWindow::get_nozzle_value()
|
float HistoryWindow::get_nozzle_value()
|
||||||
|
|
Loading…
Reference in New Issue