From 9cf41b6e6faf6a325baebf65c037a9ac5e12890e Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 1 Feb 2008 15:19:37 +0000 Subject: [FIX] CoinList UI now uses a KComboBox instead of a KIntNumInput for value [FIX] Badge UI now uses KPushButtons instead of a QGraphicsView [FIX] BadgeUI now works [FIX] PokeModr now sends a new error when an Exception got all the way through [DEL] GenericListItem replaced as QListWidgetItem works on its own [ADD] pokemodr now needs to like to kio [ADD] getFace/getBadge methods to Badge [ADD] 2 HMs (Heal and Escape) git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@53 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemodr/NatureUI.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pokemodr/NatureUI.cpp') diff --git a/pokemodr/NatureUI.cpp b/pokemodr/NatureUI.cpp index 3e25afd1..870cea21 100644 --- a/pokemodr/NatureUI.cpp +++ b/pokemodr/NatureUI.cpp @@ -46,7 +46,7 @@ NatureUI::NatureUI(Nature* n, QWidget* parent) : void NatureUI::setGui() { - const bool isSplit = nature_mod->getPokemod().getRules().getSpecialSplit(); + const bool isSplit = nature->getPokemod().getRules().getSpecialSplit(); const QStringList& statList = isSplit ? StatRBYStr : StatGSCStr; varName->setText(nature_mod->getName()); varStat->clear(); @@ -81,7 +81,7 @@ void NatureUI::on_varStat_currentIndexChanged(const QString& s) { try { - const QStringList& statList = nature_mod->getPokemod().getRules().getSpecialSplit() ? StatRBYStr : StatGSCStr; + const QStringList& statList = nature->getPokemod().getRules().getSpecialSplit() ? StatRBYStr : StatGSCStr; if (statList.contains(s)) curStat = statList.indexOf(s); else -- cgit