Public bug reported:

https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/Ubuntu.Components.ViewItems/

  ViewItems.onDragUpdated: {
        if (event.status == ListViewDrag.Started) {
            if (event.from < 5) {
                // deny dragging on the first 5 element
                event.accept = false;

In the above code, the correct should be:

            ViewItems.onDragUpdated: {
                if (event.status == ListItemDrag.Started) {
                    if (event.from < 5) {
                        // deny dragging on the first 5 element
                        event.accept = false;
                    } else if (event.from >= 5 && event.from <= 10 &&
                      

Best regards,
XiaoGuo

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1561948

Title:
  ListViewDrag should be ListItemDrag in the API doc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1561948/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to