clear root menu
fluxgen fluxgen
1 files changed,
4 insertions(+),
1 deletions(-)
jump to
M
src/Screen.cc
→
src/Screen.cc
@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Screen.cc,v 1.258 2004/01/03 00:28:02 fluxgen Exp $ +// $Id: Screen.cc,v 1.259 2004/01/10 02:58:01 fluxgen Exp $ #include "Screen.hh"@@ -626,6 +626,9 @@
BScreen::~BScreen() { if (! managed) return; + + if (m_rootmenu.get() != 0) + m_rootmenu->removeAll(); if (geom_pixmap != None) imageControl().removeImage(geom_pixmap);