diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-11-05 23:18:43 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-11-05 23:18:43 +0100 |
commit | 63a2d4b4bbd7f93c0f4b85f421650d301931cae9 (patch) | |
tree | a8ce9d1e200b4be98b8aa308b84b3428d0f17277 | |
parent | Fix active user check (diff) | |
download | nheko-63a2d4b4bbd7f93c0f4b85f421650d301931cae9.tar.xz |
Fix crash during calls
Diffstat (limited to '')
-rw-r--r-- | resources/qml/voip/ActiveCallBar.qml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/resources/qml/voip/ActiveCallBar.qml b/resources/qml/voip/ActiveCallBar.qml index eb7fce76..3b5e2464 100644 --- a/resources/qml/voip/ActiveCallBar.qml +++ b/resources/qml/voip/ActiveCallBar.qml @@ -134,8 +134,14 @@ Rectangle { callTimer.startTime: Math.floor((new Date()).getTime() / 1000) } + // HACK(Nico): Somehow this causes a crash when not using the custom parser for that property change... + //PropertyChanges { + // stackLayout.currentIndex: CallManager.callType != Voip.VOICE ? 1 : 0 + //} + PropertyChanges { - stackLayout.currentIndex: CallManager.callType != Voip.VOICE ? 1 : 0 + target: stackLayout + currentIndex: CallManager.callType != Voip.VOICE ? 1 : 0 // qmllint disable Quick.property-changes-parsed } }, |