From 0488bbd36d45e2380f3ea67b83f734210a83c4ae Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Mon, 13 Mar 2017 10:47:22 +0100 Subject: [PATCH] fix(ui/modules/Common/Popup/DropDownDynamicMenu): test correctly list parameter --- .../ui/modules/Common/Popup/DropDownDynamicMenu.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/linphone-desktop/ui/modules/Common/Popup/DropDownDynamicMenu.qml b/linphone-desktop/ui/modules/Common/Popup/DropDownDynamicMenu.qml index 492ebca30..afe204c97 100644 --- a/linphone-desktop/ui/modules/Common/Popup/DropDownDynamicMenu.qml +++ b/linphone-desktop/ui/modules/Common/Popup/DropDownDynamicMenu.qml @@ -17,7 +17,10 @@ AbstractDropDownMenu { var list = _content[0] Utils.assert(list != null, 'No list found.') - Utils.assert(Utils.qmlTypeof(list, 'QQuickListView'), 'No list view parameter.') + Utils.assert( + Utils.qmlTypeof(list, 'QQuickListView') || Utils.qmlTypeof(list, 'ScrollableListView'), + 'No list view parameter.' + ) var height = list.count * entryHeight