diff options
Diffstat (limited to 'gui/ThemeEval.cpp')
-rw-r--r-- | gui/ThemeEval.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/ThemeEval.cpp b/gui/ThemeEval.cpp index 40b671c8c3..4437809599 100644 --- a/gui/ThemeEval.cpp +++ b/gui/ThemeEval.cpp @@ -151,6 +151,8 @@ void ThemeEval::addLayout(ThemeLayout::LayoutType type, int spacing, bool center layout = new ThemeLayoutVertical(_curLayout.top(), spacing, center); else if (type == ThemeLayout::kLayoutHorizontal) layout = new ThemeLayoutHorizontal(_curLayout.top(), spacing, center); + + assert(layout); layout->setPadding( getVar("Globals.Padding.Left", 0), |