From 6ffec6899f70ecffe5f1584adbf680f43d6ea662 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 30 May 2008 20:38:35 +0000 Subject: [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 --- pokemodr/MoveUI.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pokemodr/MoveUI.cpp') 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(modified())->setDescription(description); + varName->setCursorPosition(cursor); } void MoveUI::on_varScript_valueChanged(const Script& script) -- cgit