diff options
author | Roderic Morris <roderic@ccs.neu.edu> | 2008-09-14 04:17:54 +0000 |
---|---|---|
committer | Roderic Morris <roderic@ccs.neu.edu> | 2008-09-14 04:17:54 +0000 |
commit | 8cc0423b0c0aaa5dd9e91f673a691e5e634988c1 (patch) | |
tree | 4cec41a256baa9be3edec39718da1aea9db6477a /src | |
parent | ef36048760f80708ac1eaccbc2a21e7a700dc2ab (diff) | |
download | mana-client-8cc0423b0c0aaa5dd9e91f673a691e5e634988c1.tar.gz mana-client-8cc0423b0c0aaa5dd9e91f673a691e5e634988c1.tar.bz2 mana-client-8cc0423b0c0aaa5dd9e91f673a691e5e634988c1.tar.xz mana-client-8cc0423b0c0aaa5dd9e91f673a691e5e634988c1.zip |
fix for guichan bug in tabbedareas
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/tabbedarea.cpp | 5 | ||||
-rw-r--r-- | src/gui/widgets/tabbedarea.h | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/gui/widgets/tabbedarea.cpp b/src/gui/widgets/tabbedarea.cpp index b405e4bf..7a4d153a 100644 --- a/src/gui/widgets/tabbedarea.cpp +++ b/src/gui/widgets/tabbedarea.cpp @@ -155,3 +155,8 @@ void TabbedArea::removeTab(Tab *tab) adjustSize(); adjustTabPositions(); } + +void TabbedArea::logic() +{ + logicChildren(); +} diff --git a/src/gui/widgets/tabbedarea.h b/src/gui/widgets/tabbedarea.h index f1f797ca..554a68b6 100644 --- a/src/gui/widgets/tabbedarea.h +++ b/src/gui/widgets/tabbedarea.h @@ -81,6 +81,11 @@ class TabbedArea : public gcn::TabbedArea */ void removeTab(Tab *tab); + /** + * Overload the logic function since it's broken in guichan 0.8 + */ + void logic(); + private: typedef std::vector< std::pair<gcn::Tab*, gcn::Widget*> > TabContainer; }; |