diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-10-02 18:09:34 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-10-02 18:09:34 +0000 |
commit | 02115563feabd8d0019bfda605c88552c24f0890 (patch) | |
tree | bd056b5118f4313364e64062ecbfa5a05f484d2f /gtk2_ardour/actions.cc | |
parent | 0b6139304ba628d63bfcad3a868fd5757bb6478c (diff) |
fixes for various bugs including dangling ref to route in session, opening sessions from the NSD, closing a session leaving dangling pointers etc etc
git-svn-id: svn://localhost/ardour2/trunk@938 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/actions.cc')
-rw-r--r-- | gtk2_ardour/actions.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gtk2_ardour/actions.cc b/gtk2_ardour/actions.cc index 8aa8ed0cbb..885a23ffc7 100644 --- a/gtk2_ardour/actions.cc +++ b/gtk2_ardour/actions.cc @@ -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"; |