diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-05-30 20:38:35 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-05-30 20:38:35 +0000 |
| commit | 6ffec6899f70ecffe5f1584adbf680f43d6ea662 (patch) | |
| tree | 3b94f67c2c5d54f524c9b84809cdd3cb226f6748 /pokemodr/MoveUI.cpp | |
| parent | 539cee929d3a04a655a4f63801de1ab6d392886a (diff) | |
| download | sigen-6ffec6899f70ecffe5f1584adbf680f43d6ea662.tar.gz sigen-6ffec6899f70ecffe5f1584adbf680f43d6ea662.tar.xz sigen-6ffec6899f70ecffe5f1584adbf680f43d6ea662.zip | |
[FIX] Fixed up some FractionWidget code
[FIX] Got rid of more unneeded enumerations
[FIX] MoveUI fixed up a bit
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@186 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/MoveUI.cpp')
| -rw-r--r-- | pokemodr/MoveUI.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pokemodr/MoveUI.cpp b/pokemodr/MoveUI.cpp index 4ce9216c..921ec34b 100644 --- a/pokemodr/MoveUI.cpp +++ b/pokemodr/MoveUI.cpp @@ -109,7 +109,9 @@ void MoveUI::on_varOverworld_toggled(const bool overworld) void MoveUI::on_varDescription_textChanged(const QString& description) { + const int cursor = varDescription->cursorPosition(); static_cast<Move*>(modified())->setDescription(description); + varName->setCursorPosition(cursor); } void MoveUI::on_varScript_valueChanged(const Script& script) |
