fix(ui/modules/Linphone/Chat/Chat): fix a ReferenceError: _initView is not defined error

This commit is contained in:
Ronan Abhamon 2017-02-21 15:33:04 +01:00
parent 912b0e8a17
commit 6b0d1bc432

View file

@ -105,7 +105,7 @@ Rectangle {
// When the view is changed (for example `Calls` -> `Messages`),
// the position is set at end and it can be possible to load
// more entries.
onEntryTypeFilterChanged: _initView()
onEntryTypeFilterChanged: chat._initView()
onMoreEntriesLoaded: {
chat.positionViewAtIndex(n - 1, ListView.Beginning)