mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 03:00:46 +03:00
Fix crash during calls
This commit is contained in:
parent
89df4aa150
commit
63a2d4b4bb
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue