Fixes autoreplacement
Fixes issue #858: Tabs::widget type problem
Merge pull request #1061 from nukkumatti/master

Fixes issue #858: Tabs::widget type problem