mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
FIX: stop video when not visible
Change-Id: Ibc5204084efec5381a7ede9face0519276592aa8
This commit is contained in:
parent
08c9385383
commit
4601022aaa
3 changed files with 15 additions and 3 deletions
|
@ -402,7 +402,7 @@ void MonitorPanel::update_all()
|
|||
m_upgrade_panel->update(obj);
|
||||
|
||||
|
||||
m_status_info_panel->m_media_play_ctrl->SetMachineObject(IsShown() ? obj : nullptr);
|
||||
m_status_info_panel->m_media_play_ctrl->SetMachineObject(obj);
|
||||
m_media_file_panel->SetMachineObject(obj);
|
||||
update_status(obj);
|
||||
|
||||
|
@ -466,7 +466,6 @@ bool MonitorPanel::Show(bool show)
|
|||
}
|
||||
} else {
|
||||
m_refresh_timer->Stop();
|
||||
m_status_info_panel->m_media_play_ctrl->SetMachineObject(nullptr);
|
||||
}
|
||||
return wxPanel::Show(show);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue