From b2f122632486d6d34f0261d5d89d6b3a4689220f Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Tue, 24 Jan 2017 23:21:24 +0100 Subject: [PATCH] CTestMenu: fix icon container was not removed from screen --- src/gui/test_menu.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/test_menu.cpp b/src/gui/test_menu.cpp index 7afb93eb4..44c9b3722 100644 --- a/src/gui/test_menu.cpp +++ b/src/gui/test_menu.cpp @@ -733,6 +733,9 @@ int CTestMenu::exec(CMenuTarget* parent, const std::string &actionKey) ShowHint("Testmenu: Blink","Testmenu: Blinking image stopped ...", 700, 2); } + iconform->kill(); + delete iconform; + iconform = NULL; return res; } else if (actionKey == "window"){