GUI: child windows will no long be removed on parent destroy. listbox/window now...
[enigma2.git] / lib / gui / elistbox.cpp
index 013a31036eb618d5835187368666094415be4c1c..21394de5ac4f827d26efe9ffa6f069aad9630cc0 100644 (file)
@@ -20,6 +20,9 @@ eListbox::eListbox(eWidget *parent)
 
 eListbox::~eListbox()
 {
+       if (m_scrollbar)
+               delete m_scrollbar;
+       
        ePtr<eActionMap> ptr;
        eActionMap::getInstance(ptr);
        ptr->unbindAction(this, 0);