summaryrefslogtreecommitdiffstats
path: root/pokemod/Nature.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemod/Nature.cpp')
-rw-r--r--pokemod/Nature.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/pokemod/Nature.cpp b/pokemod/Nature.cpp
index 86a53deb..db571d00 100644
--- a/pokemod/Nature.cpp
+++ b/pokemod/Nature.cpp
@@ -75,6 +75,7 @@ QDomElement Nature::save() const
void Nature::setName(const QString& name)
{
m_name = name;
+ emit(changed());
}
void Nature::setStat(const int stat, const Fraction& multiplier)
@@ -85,6 +86,7 @@ void Nature::setStat(const int stat, const Fraction& multiplier)
return;
}
m_stat[stat] = multiplier;
+ emit(changed());
}
void Nature::setWeight(const int weight)
@@ -95,6 +97,7 @@ void Nature::setWeight(const int weight)
return;
}
m_weight = weight;
+ emit(changed());
}
QString Nature::name() const