diff --git a/demos/chartviewer/window.cpp b/demos/chartviewer/window.cpp index 35b6824..09666ea 100644 --- a/demos/chartviewer/window.cpp +++ b/demos/chartviewer/window.cpp @@ -334,6 +334,7 @@ void Window::checkTemplate() m_baseLayout->addItem(qchart, j / 3, j % 3); m_chartHash[qchart] = j; } + m_baseLayout->activate(); } void Window::checkTheme()