aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeLayout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/ThemeLayout.cpp')
-rw-r--r--gui/ThemeLayout.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/ThemeLayout.cpp b/gui/ThemeLayout.cpp
index 2a09d87467..821eed472d 100644
--- a/gui/ThemeLayout.cpp
+++ b/gui/ThemeLayout.cpp
@@ -48,9 +48,9 @@ void ThemeLayout::importLayout(ThemeLayout *layout) {
if (getLayoutType() == layout->getLayoutType()) {
for (uint i = 0; i < layout->_children.size(); ++i)
- _children.push_back(layout->_children[i]->makeClone());
+ _children.push_back(layout->_children[i]->makeClone(this));
} else {
- _children.push_back(layout->makeClone());
+ _children.push_back(layout->makeClone(this));
}
}