GUI: child windows will no long be removed on parent destroy. listbox/window now...
[enigma2.git] / lib / gui / ewindow.cpp
index 54a359582327698d6c24227cdf2b6fde4bfcbeff..06827a9eede6cefff82df4cd64ef8911c7e33edd 100644 (file)
@@ -33,6 +33,7 @@ eWindow::eWindow(eWidgetDesktop *desktop): eWidget(0)
 eWindow::~eWindow()
 {
        getDesktop()->removeRootWidget(this);
+       m_child->destruct();
 }
 
 void eWindow::setTitle(const std::string &string)