summaryrefslogtreecommitdiffstats
path: root/pokemodr/PokeModTreeItem.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-02-25 16:26:07 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-02-25 16:26:07 +0000
commit86b07a87ceb0154a254f104b3135a51787c57f30 (patch)
tree1c6b5e3460029e97c69df0a99868400cbe11e482 /pokemodr/PokeModTreeItem.cpp
parent1e02a507f0b481465f5b47441479b98a81aee079 (diff)
downloadsigen-86b07a87ceb0154a254f104b3135a51787c57f30.tar.gz
sigen-86b07a87ceb0154a254f104b3135a51787c57f30.tar.xz
sigen-86b07a87ceb0154a254f104b3135a51787c57f30.zip
[ADD] Pokemod tree will reflect PokéMod heirarchy and load panels
[FIX] PokemodUI panel now loads [FIX] Includes fixed [FIX] newAuthor had + instead of - (QList assertions) [FIX] Pokemod copying works now [FIX] Debug rather than release used git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@83 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/PokeModTreeItem.cpp')
-rw-r--r--pokemodr/PokeModTreeItem.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/pokemodr/PokeModTreeItem.cpp b/pokemodr/PokeModTreeItem.cpp
index a3788cea..e47648a0 100644
--- a/pokemodr/PokeModTreeItem.cpp
+++ b/pokemodr/PokeModTreeItem.cpp
@@ -60,6 +60,8 @@
void PokeModTreeItem::updateName()
{
+ if (!obj)
+ return;
QString name(obj->getClassName());
QString text;
if (name == "Ability")