diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-09-03 13:53:30 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-09-03 13:53:30 (GMT) |
commit | 60a4c7d9f6a0fc997e11898f9042977922026052 (patch) | |
tree | 0f9572f1062e82cea0e7a32250fc0ed5643343b5 /src | |
parent | a72eeeb2ceb6d5183abb24ed36c202079fe0fa42 (diff) | |
download | fluxbox_paul-60a4c7d9f6a0fc997e11898f9042977922026052.zip fluxbox_paul-60a4c7d9f6a0fc997e11898f9042977922026052.tar.bz2 |
remove tooltip when IconButton is destroyed
Diffstat (limited to 'src')
-rw-r--r-- | src/IconButton.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/IconButton.cc b/src/IconButton.cc index 0511a06..b411a23 100644 --- a/src/IconButton.cc +++ b/src/IconButton.cc | |||
@@ -71,6 +71,8 @@ IconButton::IconButton(const FbTk::FbWindow &parent, | |||
71 | 71 | ||
72 | IconButton::~IconButton() { | 72 | IconButton::~IconButton() { |
73 | // ~FbWindow cleans event manager | 73 | // ~FbWindow cleans event manager |
74 | if (m_has_tooltip) | ||
75 | m_win.screen().hideTooltip(); | ||
74 | } | 76 | } |
75 | 77 | ||
76 | 78 | ||