diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-05-24 15:30:48 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-05-24 15:30:48 +0000 |
| commit | dec252e25fc63fe1bb321dd87772181fc76e998f (patch) | |
| tree | b2df56af5a1d5181bc9c65399b536946467bc4bc /pokemodr/ScriptWidget.cpp | |
| parent | 11a880fe22a7602dbaec5716e25b32b09d291e65 (diff) | |
| download | sigen-dec252e25fc63fe1bb321dd87772181fc76e998f.tar.gz sigen-dec252e25fc63fe1bb321dd87772181fc76e998f.tar.xz sigen-dec252e25fc63fe1bb321dd87772181fc76e998f.zip | |
[ADD] More documentation
[ADD] Abilities now hav a description field
[FIX] Fixed up a few minor things in pokemodr
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@172 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/ScriptWidget.cpp')
| -rw-r--r-- | pokemodr/ScriptWidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pokemodr/ScriptWidget.cpp b/pokemodr/ScriptWidget.cpp index 8001199b..addb14ba 100644 --- a/pokemodr/ScriptWidget.cpp +++ b/pokemodr/ScriptWidget.cpp @@ -49,10 +49,10 @@ void ScriptWidget::on_varInterpreter_activated(const QString& interpreter) emit(valueChanged(m_value)); } -void ScriptWidget::on_varScript_textChanged(const QString& script) +void ScriptWidget::on_varScript_textChanged() { QTextCursor cursor = varScript->textCursor(); - m_value.setScript(script); + m_value.setScript(varScript->toPlainText()); varScript->setTextCursor(cursor); emit(valueChanged(m_value)); } |
