fixes for various bugs including dangling ref to route in session, opening sessions...
[ardour.git] / gtk2_ardour / actions.cc
index 8aa8ed0cbb9892315cb9be4c6885b85606d2a7f9..885a23ffc75cb3c0d39f3973536bc07ddc6d9300 100644 (file)
@@ -294,8 +294,6 @@ ActionManager::toggle_config_state (const char* group, const char* action, bool
                if (tact) {
                        bool x = (Config->*get)();
 
-                       cerr << "\ttoggle config, action = " << tact->get_active() << " config = " << x << endl;
-                       
                        if (x != tact->get_active()) {
                                (Config->*set) (!x);
                        }
@@ -326,13 +324,11 @@ ActionManager::map_some_state (const char* group, const char* action, bool (Conf
                        
                        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";