summaryrefslogtreecommitdiffstats
path: root/pokemod/CoinList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemod/CoinList.cpp')
-rw-r--r--pokemod/CoinList.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/pokemod/CoinList.cpp b/pokemod/CoinList.cpp
index 47400c5e..686a63d9 100644
--- a/pokemod/CoinList.cpp
+++ b/pokemod/CoinList.cpp
@@ -108,6 +108,7 @@ QDomElement CoinList::save() const
void CoinList::setName(const QString& name)
{
m_name = name;
+ emit(changed());
}
void CoinList::setValue(const int value)
@@ -121,6 +122,7 @@ void CoinList::setValue(const int value)
if ((effect->effect() == ItemEffect::E_CoinCase) && (effect->value1() == value))
{
m_value = value;
+ emit(changed());
return;
}
}