From 8cc0423b0c0aaa5dd9e91f673a691e5e634988c1 Mon Sep 17 00:00:00 2001 From: Roderic Morris Date: Sun, 14 Sep 2008 04:17:54 +0000 Subject: fix for guichan bug in tabbedareas --- src/gui/widgets/tabbedarea.cpp | 5 +++++ src/gui/widgets/tabbedarea.h | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'src') 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 > TabContainer; }; -- cgit v1.2.3-70-g09d2