summaryrefslogtreecommitdiffstats
path: root/pokemodr/PokemodUI.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-06-04 02:16:32 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-06-04 02:16:32 +0000
commit9180817f1d52ffe67ea30ec07ebc87d8a274319c (patch)
tree361d284edc26c833aa6d78ea071f18b795d60796 /pokemodr/PokemodUI.cpp
parent147d0e7a06edca76880395b0e4a6e222772b915f (diff)
downloadsigen-9180817f1d52ffe67ea30ec07ebc87d8a274319c.tar.gz
sigen-9180817f1d52ffe67ea30ec07ebc87d8a274319c.tar.xz
sigen-9180817f1d52ffe67ea30ec07ebc87d8a274319c.zip
[FIX] Windows build
[FIX] Spacers now have size [FIX] ListWidget editing now works (though could use some improvement with flickering) [FIX] KFileDialog now compiles git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@191 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/PokemodUI.cpp')
-rw-r--r--pokemodr/PokemodUI.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/pokemodr/PokemodUI.cpp b/pokemodr/PokemodUI.cpp
index 8f9bed09..52be0137 100644
--- a/pokemodr/PokemodUI.cpp
+++ b/pokemodr/PokemodUI.cpp
@@ -202,6 +202,7 @@ void PokemodUI::on_varTypechart_clicked(const QModelIndex& index)
{
m_index = index;
varEffectiveness->setEnabled(true);
+ boxEffectiveness->setTitle(QString("%1 vs. %2").arg(varTypechart->model()->headerData(index.row(), Qt::Vertical, Qt::DisplayRole).toString()).arg(varTypechart->model()->headerData(index.column(), Qt::Horizontal, Qt::DisplayRole).toString()));
varEffectiveness->setValue(varTypechart->model()->data(m_index, Qt::EditRole).value<Fraction>());
}