~rick-rickspencer3/+junk/fairesdescourses

« back to all changes in this revision

Viewing changes to components/ShoppingListItem.qml

  • Committer: Rick Spencer
  • Date: 2014-12-09 20:52:47 UTC
  • Revision ID: rick.spencer@canonical.com-20141209205247-8tqcplijs1kayfdq
added removing checked items function

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
                    checked: itemsRepeater.model[index]["checked"]
30
30
                    onClicked:
31
31
                    {
32
 
                        for(var p in itemsRepeater.model[index])
33
 
                        {
34
 
                            print(p)
35
 
                        }
36
 
 
37
32
                        db.toggleChecked(itemsRepeater.model[index]["docId"])
38
33
                    }
39
34
                }