summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabbedarea.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2008-04-17 21:02:15 +0000
committerYohann Ferreira <bertram@cegetel.net>2008-04-17 21:02:15 +0000
commit0b567928c0a24c7346451b59285ce8144ae0bf2e (patch)
treeb878bf03f17b2a83d2e5652460a03f24d6b386a8 /src/gui/widgets/tabbedarea.cpp
parentf43ce278866a2c42f67f75972c2e4abe46f8fd82 (diff)
downloadmana-client-0b567928c0a24c7346451b59285ce8144ae0bf2e.tar.gz
mana-client-0b567928c0a24c7346451b59285ce8144ae0bf2e.tar.bz2
mana-client-0b567928c0a24c7346451b59285ce8144ae0bf2e.tar.xz
mana-client-0b567928c0a24c7346451b59285ce8144ae0bf2e.zip
Fixed a crash when clicking on 'Quit Guild' Button. Also disabled the 'Invite user'
and 'Quit Guild' buttons when no Guild is created.
Diffstat (limited to 'src/gui/widgets/tabbedarea.cpp')
-rw-r--r--src/gui/widgets/tabbedarea.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/tabbedarea.cpp b/src/gui/widgets/tabbedarea.cpp
index a22c795c..9087babc 100644
--- a/src/gui/widgets/tabbedarea.cpp
+++ b/src/gui/widgets/tabbedarea.cpp
@@ -47,6 +47,7 @@ gcn::Tab* TabbedArea::getTab(const std::string &name)
}
++itr;
}
+ return NULL;
}
void TabbedArea::draw(gcn::Graphics *graphics)