mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-03 22:56:49 +00:00
feat(ui/views/App/Settings/SettingsVideo): hide video preview when window is closed
This commit is contained in:
parent
d58501cf34
commit
70631b9d3f
2 changed files with 10 additions and 0 deletions
|
|
@ -19,3 +19,7 @@ function updateVideoPreview () {
|
|||
window.detachVirtualWindow()
|
||||
}
|
||||
}
|
||||
|
||||
function hideVideoPreview () {
|
||||
window.detachVirtualWindow()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -123,6 +123,12 @@ TabContainer {
|
|||
onRowsInserted: Logic.updateVideoPreview()
|
||||
onRowsRemoved: Logic.updateVideoPreview()
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: window
|
||||
|
||||
onClosing: Logic.hideVideoPreview()
|
||||
}
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue