diff --git a/src/mainview/components/CallOverlay.qml b/src/mainview/components/CallOverlay.qml index 1e48f3a7..19e3966f 100644 --- a/src/mainview/components/CallOverlay.qml +++ b/src/mainview/components/CallOverlay.qml @@ -84,11 +84,10 @@ Item { onHoldImage.visible = visible } - function closePotentialContactPicker() { + function closeContextMenuAndRelatedWindows() { ContactPickerCreation.closeContactPicker() - } - - function closePotentialPluginHandlerPicker() { + SelectScreenWindowCreation.destroySelectScreenWindow() + ScreenRubberBandCreation.destroyScreenRubberBandWindow() PluginHandlerPickerCreation.closePluginHandlerPicker() } diff --git a/src/mainview/components/OngoingCallPage.qml b/src/mainview/components/OngoingCallPage.qml index 76b44874..1c9f9547 100644 --- a/src/mainview/components/OngoingCallPage.qml +++ b/src/mainview/components/OngoingCallPage.qml @@ -82,7 +82,7 @@ Rectangle { } function closeContextMenuAndRelatedWindows() { - callOverlay.closePotentialContactPicker() + callOverlay.closeContextMenuAndRelatedWindows() } function handleParticipantsInfo(infos) {