diff options
Diffstat (limited to 'pokemodr/ObjectUI.cpp')
| -rw-r--r-- | pokemodr/ObjectUI.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pokemodr/ObjectUI.cpp b/pokemodr/ObjectUI.cpp index 29423d8c..50267952 100644 --- a/pokemodr/ObjectUI.cpp +++ b/pokemodr/ObjectUI.cpp @@ -35,7 +35,6 @@ ObjectUI::ObjectUI(QWidget* parent) : m_object_mod(NULL) { connect(this, SIGNAL(changed(bool)), SLOT(setChanged(bool))); - connect(this, SIGNAL(changed()), SLOT(setChanged())); } ObjectUI::~ObjectUI() @@ -130,11 +129,10 @@ void ObjectUI::setObjects(Object* original, Object* modified) m_object = original; m_object_mod = modified; connect(m_object_mod, SIGNAL(changed()), this, SIGNAL(changed())); + connect(m_object_mod, SIGNAL(changed()), this, SLOT(setGui())); connect(m_object_mod, SIGNAL(error(const QString&)), this, SLOT(setGui())); connect(m_object_mod, SIGNAL(error(const QString&)), this, SLOT(errorMessage(const QString&))); connect(m_object_mod, SIGNAL(warning(const QString&)), this, SLOT(warningMessage(const QString&))); - connect(m_object_mod, SIGNAL(changed()), this, SLOT(setChanged())); - connect(m_object_mod, SIGNAL(changed()), this, SLOT(setGui())); } void ObjectUI::init() |
