summaryrefslogtreecommitdiffstats
path: root/pokemod/CoinListObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemod/CoinListObject.cpp')
-rw-r--r--pokemod/CoinListObject.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/pokemod/CoinListObject.cpp b/pokemod/CoinListObject.cpp
index c9ae4423..3eb44e91 100644
--- a/pokemod/CoinListObject.cpp
+++ b/pokemod/CoinListObject.cpp
@@ -86,6 +86,7 @@ void CoinListObject::setType(const int type)
}
m_type = type;
m_object = INT_MAX;
+ emit(changed());
}
void CoinListObject::setObject(const int object)
@@ -96,6 +97,7 @@ void CoinListObject::setObject(const int object)
return;
}
m_object = object;
+ emit(changed());
}
void CoinListObject::setAmount(const int amount)
@@ -106,11 +108,13 @@ void CoinListObject::setAmount(const int amount)
return;
}
m_amount = amount;
+ emit(changed());
}
void CoinListObject::setCost(const int cost)
{
m_cost = cost;
+ emit(changed());
}
int CoinListObject::type() const