mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-06 07:11:10 +00:00
feat: add foundation for configurable printer agent connection (#16027)
* feat: add foundation for configurable printer agent connection * fix: regression after merge * chore: remove duplcate http include * fix: remove unrelated moonraker.cpp changes * chore: port add_platform_root_certificates to 15711 * fix: clean diff
This commit is contained in:
@@ -276,7 +276,10 @@ void MonitorPanel::select_machine(std::string machine_sn)
|
||||
|
||||
void MonitorPanel::on_timer(wxTimerEvent& event)
|
||||
{
|
||||
if (update_flag) {
|
||||
// MediaPlayCtrl may yield the event loop while it joins its camera worker
|
||||
// during window teardown. Do not let a queued monitor refresh touch panels
|
||||
// that are already being destroyed.
|
||||
if (!wxGetApp().is_closing() && update_flag) {
|
||||
update_all();
|
||||
//Layout();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user