From fdd0eec1d145fb8ac97b4cc9aaed5218214416ec Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 15 May 2008 19:55:43 +0000 Subject: [FIX] Refactored out connections made within widgets [FIX] Flag, Fractiona, and Point widgets fixed to only emit signals when actually changed [FIX] Pokemod classes now emit signals git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@138 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemod/CoinList.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pokemod/CoinList.cpp') 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; } } -- cgit