FIX: [STUDIO-2448] switch machine in camera popup

Change-Id: I40531dde899beb11efea985348de8b77354e6724
This commit is contained in:
chunmao.guo 2023-05-18 13:49:33 +08:00 committed by Lane.Wei
parent c770926142
commit 164251531e
3 changed files with 10 additions and 12 deletions

View file

@ -24,7 +24,7 @@ wxDECLARE_EVENT(EVT_SDCARD_ABSENT_HINT, wxCommandEvent);
class CameraPopup : public PopupWindow
{
public:
CameraPopup(wxWindow *parent, MachineObject* obj = nullptr);
CameraPopup(wxWindow *parent);
virtual ~CameraPopup() {}
// PopupWindow virtual methods are all overridden to log them
@ -34,7 +34,7 @@ public:
virtual bool Show(bool show = true) wxOVERRIDE;
void sync_vcamera_state(bool show_vcamera);
void check_func_supported();
void check_func_supported(MachineObject* obj);
void update(bool vcamera_streaming);
enum CameraResolution