Solved problems defined by bug #2899
Now material chooser when opened know wireframe status
Merge branch 'Bug2899'