From fa85318e91ea9bbe4638092767b3b8e0ea64f57c Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Wed, 21 May 2008 17:22:27 +0000 Subject: [FIX] Classes in pokemod will no longer emit a changed signal if not actually changed [FIX] Logic error with checking to see if certain GUI elements need resetting [FIX] Using activated rather than currentIndexChanged signals for combo boxes [FIX] Qt bugs now irrelevant git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@161 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemod/Object.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pokemod/Object.cpp') diff --git a/pokemod/Object.cpp b/pokemod/Object.cpp index 55b1be9c..1b4ba668 100644 --- a/pokemod/Object.cpp +++ b/pokemod/Object.cpp @@ -58,8 +58,7 @@ QString Object::className() const void Object::setId(const int id) { - m_id = id; - emit(changed()); + CHECK(id); } QString Object::unused(const QString& variable) -- cgit