diff --git a/Linphone/view/Control/Container/VerticalTabBar.qml b/Linphone/view/Control/Container/VerticalTabBar.qml index 8ba7c91c2..265341fa6 100644 --- a/Linphone/view/Control/Container/VerticalTabBar.qml +++ b/Linphone/view/Control/Container/VerticalTabBar.qml @@ -17,6 +17,14 @@ Control.TabBar { onDefaultAccountChanged: { if (defaultAccount) defaultAccount.core?.lRefreshNotifications() } + Connections { + enabled: defaultAccount + target: defaultAccount.core + onUnreadCallNotificationsChanged: { + console.log("unread changed", currentIndex) + if (currentIndex === 0) defaultAccount?.core.lResetMissedCalls() + } + } component UnreadNotification: Rectangle { id: unreadNotifications