if (tact) {
bool x = (Config->*get)();
- cerr << "\ttoggle config, action = " << tact->get_active() << " config = " << x << endl;
-
if (x != tact->get_active()) {
(Config->*set) (!x);
}
bool x = (Config->*get)();
- cerr << "\tmap state, action = " << tact->get_active() << " config = " << x << endl;
-
if (tact->get_active() != x) {
tact->set_active (x);
}
} else {
- cerr << "not a toggle\n";
+ cerr << group << ':' << action << " is not a toggle\n";
}
} else {
cerr << group << ':' << action << " not an action\n";