[TabBox] Remember current model index on SwitcherItem model set
ClosedPublic

Authored by romangg on Jan 16 2017, 3:23 PM.

Details

Reviewers
graesslin
Group Reviewers
KWin
Summary

In case we need to set the SwitcherItem model in TabBoxHandlerPrivate::show(), remember the current index row, otherwise it gets reset to the first item.

BUG: 333511

Diff Detail

Repository
R108 KWin
Lint
Lint Skipped
Unit
Unit Tests Skipped
romangg updated this revision to Diff 10242.Jan 16 2017, 3:23 PM
romangg retitled this revision from to [TabBox] Remember current model index on SwitcherItem model set.
romangg updated this object.
romangg edited the test plan for this revision. (Show Details)
romangg added a reviewer: KWin.
romangg set the repository for this revision to R108 KWin.
romangg added a project: KWin.
graesslin accepted this revision.Jan 16 2017, 4:52 PM
graesslin added a reviewer: graesslin.
graesslin added a subscriber: graesslin.

Good finding!

This revision is now accepted and ready to land.Jan 16 2017, 4:52 PM

I'd say Plasma 5.8 material.

romangg closed this revision.Jan 17 2017, 9:40 AM