onCurrentIndexChanged is triggered on page load and on scroll
Hi,
I do have several issues with my ListView. The delegate of my ListView is a row with a checkbox, combobox and a Text. When the page is loaded I get a lot of errors:
Code:
qml: triggered by id: 14
I get these three lines for 34 ids while 20 lines are displayed and the model has 54 ids in total. When I start scrolling down the list I get more and more of the errors for all ids. The rows them self are fine. They are displayed correctly but for me it is an issue that the triggered event for the comboboxes is emitted without the user changing it.
Is this a bug in QML or a feature? Is it possible to get rid of the warnings? How can I separate user input from system triggers?
I am using the following imports:
Code:
import QtQuick 2.5
import QtQuick.Controls 1.4
import QtQuick.Layouts 1.2
import QtQuick.Dialogs 1.2
import QtQuick.XmlListModel 2.0
Thanks!