summaryrefslogtreecommitdiffstats
path: root/pokemod/Dialog.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-05-15 19:55:43 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-05-15 19:55:43 +0000
commitfdd0eec1d145fb8ac97b4cc9aaed5218214416ec (patch)
tree2389a0d53fe3eaa644ccb220345995feec748823 /pokemod/Dialog.cpp
parent77124f3f105ea3837022d20a49028309a211c4b0 (diff)
downloadsigen-fdd0eec1d145fb8ac97b4cc9aaed5218214416ec.tar.gz
sigen-fdd0eec1d145fb8ac97b4cc9aaed5218214416ec.tar.xz
sigen-fdd0eec1d145fb8ac97b4cc9aaed5218214416ec.zip
[FIX] Refactored out connections made within widgets
[FIX] Flag, Fractiona, and Point widgets fixed to only emit signals when actually changed [FIX] Pokemod classes now emit signals git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@138 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/Dialog.cpp')
-rw-r--r--pokemod/Dialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/pokemod/Dialog.cpp b/pokemod/Dialog.cpp
index 43ba518a..15607831 100644
--- a/pokemod/Dialog.cpp
+++ b/pokemod/Dialog.cpp
@@ -637,6 +637,7 @@ QDomElement Dialog::save() const
void Dialog::setDialog(const QString& dialog)
{
m_dialog = dialog;
+ emit(changed());
}
QString Dialog::dialog() const
@@ -652,6 +653,7 @@ void Dialog::insertCommand(const int position, const QString& command)
return;
}
m_dialog.insert(position, command);
+ emit(changed());
}
Dialog& Dialog::operator=(const Dialog& rhs)