summaryrefslogtreecommitdiffstats
path: root/pokemodr/MoveUI.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-06-02 01:50:47 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-06-02 01:50:47 +0000
commit87bc8b43600937a3d83cbdf8345e23a484755e3a (patch)
tree661131614ed841f68ab8cc23ea372983d49fbe20 /pokemodr/MoveUI.cpp
parentf3e081acd87439efadd5ff4181916e06cc07f051 (diff)
downloadsigen-87bc8b43600937a3d83cbdf8345e23a484755e3a.tar.gz
sigen-87bc8b43600937a3d83cbdf8345e23a484755e3a.tar.xz
sigen-87bc8b43600937a3d83cbdf8345e23a484755e3a.zip
[FIX] Modified Rules a bit
[FIX] Updated Rules widget to match up with Rules [FIX] Reorganized the Rules widget [FIX] Using KStandardDirs rather than hardcoded ones [FIX] Cleaned up some minor things with KListWidgets git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@188 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/MoveUI.cpp')
-rw-r--r--pokemodr/MoveUI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemodr/MoveUI.cpp b/pokemodr/MoveUI.cpp
index 921ec34b..b51fecfd 100644
--- a/pokemodr/MoveUI.cpp
+++ b/pokemodr/MoveUI.cpp
@@ -111,7 +111,7 @@ void MoveUI::on_varDescription_textChanged(const QString& description)
{
const int cursor = varDescription->cursorPosition();
static_cast<Move*>(modified())->setDescription(description);
- varName->setCursorPosition(cursor);
+ varDescription->setCursorPosition(cursor);
}
void MoveUI::on_varScript_valueChanged(const Script& script)