diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2008-01-25 02:53:23 +0000 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2008-01-25 02:53:23 +0000 |
commit | 8641b372df45df8ca10c96b83205af5eb12d94a1 (patch) | |
tree | c9b9d7dac34bae047f0556b64dfdc0fcdba08c80 /pokemod | |
parent | 081bd53cf22ca40a6e436bc46eb62ad469909d6f (diff) | |
download | sigen-8641b372df45df8ca10c96b83205af5eb12d94a1.tar.gz sigen-8641b372df45df8ca10c96b83205af5eb12d94a1.tar.xz sigen-8641b372df45df8ca10c96b83205af5eb12d94a1.zip |
[FIX] pokemodr.ui now uses QScrollArea rather than QAbstractScrollArea
[FIX] Compare in Rules.cpp
[FIX] PokeModrUI now saves the KConfgiGroup so preferences can be saved back
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@46 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod')
-rw-r--r-- | pokemod/Rules.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemod/Rules.cpp b/pokemod/Rules.cpp index 6bf47102..866c3d13 100644 --- a/pokemod/Rules.cpp +++ b/pokemod/Rules.cpp @@ -224,7 +224,7 @@ void Rules::setMaxParty(const unsigned m) throw(BoundsException) if (!m) throw(BoundsException(className, "maxParty")); maxParty = m; - if (maxFight < m) + if (m < maxFight) setMaxFight(m); } |