ENH:Play video after redirecting to device page
jira:[STUDIO-6884] Change-Id: Ia5e2ac84e3d71baacfcf941b782dab2325f35d54
This commit is contained in:
parent
984f88979f
commit
ab44e643bb
|
@ -19,6 +19,9 @@ MultiMachineItem::MultiMachineItem(wxWindow* parent, MachineObject* obj)
|
||||||
Bind(wxEVT_MOTION, &MultiMachineItem::OnMove, this);
|
Bind(wxEVT_MOTION, &MultiMachineItem::OnMove, this);
|
||||||
Bind(EVT_MULTI_DEVICE_VIEW, [this, obj](auto& e) {
|
Bind(EVT_MULTI_DEVICE_VIEW, [this, obj](auto& e) {
|
||||||
wxGetApp().mainframe->jump_to_monitor(obj->dev_id);
|
wxGetApp().mainframe->jump_to_monitor(obj->dev_id);
|
||||||
|
if (wxGetApp().mainframe->m_monitor->get_status_panel()->get_media_play_ctrl()) {
|
||||||
|
wxGetApp().mainframe->m_monitor->get_status_panel()->get_media_play_ctrl()->jump_to_play();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
wxGetApp().UpdateDarkUIWin(this);
|
wxGetApp().UpdateDarkUIWin(this);
|
||||||
}
|
}
|
||||||
|
|
|
@ -441,6 +441,7 @@ public:
|
||||||
wxBoxSizer *create_settings_group(wxWindow *parent);
|
wxBoxSizer *create_settings_group(wxWindow *parent);
|
||||||
|
|
||||||
void show_ams_group(bool show = true);
|
void show_ams_group(bool show = true);
|
||||||
|
MediaPlayCtrl* get_media_play_ctrl() {return m_media_play_ctrl;};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue