fix bug #540 for quattro themes
Merge pull request #685 from tobiasd/540_for_quattro

fix bug #540 for quattro themes