summaryrefslogtreecommitdiffstats
path: root/pokemodr/SpeciesEvolutionUI.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-02-25 21:14:18 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-02-25 21:14:18 +0000
commita5d7ffcbdfaf597081968f1b7764007e668d9b0c (patch)
treefe64ea637ac50315b1f5c6f4b2a55c10d07b60c6 /pokemodr/SpeciesEvolutionUI.cpp
parent7737b5109b85f1ae0ad423577a7d940344a7155e (diff)
downloadsigen-a5d7ffcbdfaf597081968f1b7764007e668d9b0c.tar.gz
sigen-a5d7ffcbdfaf597081968f1b7764007e668d9b0c.tar.xz
sigen-a5d7ffcbdfaf597081968f1b7764007e668d9b0c.zip
[FIX] Sizers fixed in KTabWidgets
[FIX] Apply/Discard buttons fixed [FIX] Window title now fixed git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@85 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/SpeciesEvolutionUI.cpp')
-rw-r--r--pokemodr/SpeciesEvolutionUI.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/pokemodr/SpeciesEvolutionUI.cpp b/pokemodr/SpeciesEvolutionUI.cpp
index 3b945164..4b5a1c33 100644
--- a/pokemodr/SpeciesEvolutionUI.cpp
+++ b/pokemodr/SpeciesEvolutionUI.cpp
@@ -43,7 +43,7 @@ SpeciesEvolutionUI::SpeciesEvolutionUI(SpeciesEvolution* s, QWidget* parent) :
setupUi(this);
QMetaObject::connectSlotsByName(this);
setObjects(speciesEvolution, speciesEvolution_mod);
- connect(this, SIGNAL(changed(bool)), boxButtons, SLOT(setDisabled(bool)));
+ connect(this, SIGNAL(changed(bool)), boxButtons, SLOT(setEnabled(bool)));
for (int i = 0; i < speciesEvolution->getPokemod()->getSpeciesCount(); ++i)
{
const Species* s = speciesEvolution->getPokemod()->getSpecies(i);
@@ -51,6 +51,7 @@ SpeciesEvolutionUI::SpeciesEvolutionUI(SpeciesEvolution* s, QWidget* parent) :
varSpecies->setItemData(i, s->getId());
}
varStyle->addItems(SpeciesEvolution::StyleStr);
+ emit(changed(false));
setGui();
}