remove tooltip when IconButton is destroyed
This commit is contained in:
parent
a72eeeb2ce
commit
60a4c7d9f6
1 changed files with 2 additions and 0 deletions
|
@ -71,6 +71,8 @@ IconButton::IconButton(const FbTk::FbWindow &parent,
|
|||
|
||||
IconButton::~IconButton() {
|
||||
// ~FbWindow cleans event manager
|
||||
if (m_has_tooltip)
|
||||
m_win.screen().hideTooltip();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue