summaryrefslogtreecommitdiffstats
path: root/addon/doxywizard/inputbool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'addon/doxywizard/inputbool.cpp')
-rw-r--r--addon/doxywizard/inputbool.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/addon/doxywizard/inputbool.cpp b/addon/doxywizard/inputbool.cpp
index c63696a..4ac2f8a 100644
--- a/addon/doxywizard/inputbool.cpp
+++ b/addon/doxywizard/inputbool.cpp
@@ -1,6 +1,6 @@
/******************************************************************************
*
- *
+ * $Id$
*
* Copyright (C) 1997-2001 by Dimitri van Heesch.
*
@@ -36,7 +36,11 @@ void InputBool::init()
void InputBool::setState( bool s )
{
- if (state!=s) emit changed();
+ if (state!=s)
+ {
+ emit changed();
+ emit toggle(text(),s);
+ }
state=s;
}