Public bug reported:

The currentIndex needs to be maintained correctly when performing 
{remove,insert}Source, I believe there are the following cases that need to be 
taken into account:
- If removeSource is for an index less than the currentIndex then the 
currentIndex needs to be decremented.
- If removeSource is for the same index as currentIndex then next() should be 
called
- If insertSource is for an index less than or equal to the currentIndex then 
the currentIndex needs to be incremented

** Affects: qtubuntu-media (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- removeSource and insertSource need to maintain currentIndex correctly
+ removeSource and insertSource needs to maintain currentIndex correctly

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

Title:
  removeSource and insertSource needs to maintain currentIndex correctly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtubuntu-media/+bug/1511073/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to