make sure the theme is loaded on item sync

Change-Id: Iea920b208c9e84bc9fb3c6c3c39e4362782f0b5f
This commit is contained in:
Marco Martin 2014-10-02 16:16:37 +02:00
parent 094a1c105d
commit 419b344b6d

View File

@ -515,6 +515,7 @@ void DialogPrivate::syncToMainItemSize()
return; return;
} }
updateTheme();
if (visualParent) { if (visualParent) {
// fixedMargins will get all the borders, no matter if they are enabled // fixedMargins will get all the borders, no matter if they are enabled
auto margins = frameSvgItem->fixedMargins(); auto margins = frameSvgItem->fixedMargins();