diff options
author | rathnor <rathnor> | 2004-03-21 09:00:25 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2004-03-21 09:00:25 (GMT) |
commit | dea3281e6917601a81df7833457a942b875b8e49 (patch) | |
tree | 09878620d13c944a2a6af724dc3b3366984bac2f /src/FbWinFrame.cc | |
parent | 2d82374b2f458c32895b093aff8c77e88daea2ba (diff) | |
download | fluxbox_pavel-dea3281e6917601a81df7833457a942b875b8e49.zip fluxbox_pavel-dea3281e6917601a81df7833457a942b875b8e49.tar.bz2 |
primarily focus fix/tweak/rejigging
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r-- | src/FbWinFrame.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc index 9b8b7e7..8d93184 100644 --- a/src/FbWinFrame.cc +++ b/src/FbWinFrame.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: FbWinFrame.cc,v 1.76 2004/02/28 16:54:04 fluxgen Exp $ | 22 | // $Id: FbWinFrame.cc,v 1.77 2004/03/21 09:00:24 rathnor Exp $ |
23 | 23 | ||
24 | #include "FbWinFrame.hh" | 24 | #include "FbWinFrame.hh" |
25 | 25 | ||
@@ -301,10 +301,11 @@ void FbWinFrame::removeLabelButton(FbTk::TextButton &btn) { | |||
301 | if (erase_it == m_labelbuttons.end()) | 301 | if (erase_it == m_labelbuttons.end()) |
302 | return; | 302 | return; |
303 | 303 | ||
304 | if (&btn == m_current_label) | ||
305 | m_current_label = 0; | ||
306 | |||
304 | m_labelbuttons.erase(erase_it); | 307 | m_labelbuttons.erase(erase_it); |
305 | 308 | ||
306 | if (*erase_it == m_current_label) | ||
307 | m_current_label = 0; | ||
308 | } | 309 | } |
309 | 310 | ||
310 | 311 | ||