Image Wallpaper: Restore index after removing a wallpaper

Review Request #123275 - Created April 6, 2015 and submitted

Information
Antonis Tsiapaliokas
plasma-workspace
master
344384
Reviewers
plasma

After removing a wallpaper the currentIndex is remaining the same.
As a result of that our model has checked the wrong wallpaper.
This patch is fixing this bug.


  

Issues

  • 1
  • 0
  • 0
  • 1
Description From Last Updated
hmm, not understanding exactly why the index has to be decremented by count. shouldn't be just deceremented by 1 iff ... Marco Martin Marco Martin
Marco Martin
Marco Martin
Antonis Tsiapaliokas
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit ba61ce61b4e1ebb28df0cc10aefa7a1824282394 by Antonis Tsiapaliokas to branch master.
Loading...