This commit fixes view grouping, broken in D3170 revision.
Tested on 5.1 and master branches.
assuming this actually fixes it, I'm all for it - less code :)
This still works b/c you pushed the grouping functionality into the showWidget code path, right? Nice work!
@mwolff, Aleix reorganize code in the D3170 revision and now we can drop buttonPressed() method - all checks can be made inside showWidget(). And you are right - less code is good :)
Also sorry for mistake with bug number inside revision description.