diff options
author | Carl Hetherington <carl@carlh.net> | 2010-08-18 03:17:07 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-08-18 03:17:07 +0000 |
commit | f9d0879e868cfab2e8ebd25803bdfa14a3f70426 (patch) | |
tree | 7170b4c470d651f57e2a5e842fef60ede4847e5b /gtk2_ardour/ardour_ui_ed.cc | |
parent | 0d34f2487d8b405dd0f2117092e091f49e94447a (diff) |
Plugin UI state should of course be saved per-session rather than globally.
git-svn-id: svn://localhost/ardour2/branches/3.0@7646 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui_ed.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_ed.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/ardour_ui_ed.cc b/gtk2_ardour/ardour_ui_ed.cc index 091d846c1b..be82a74403 100644 --- a/gtk2_ardour/ardour_ui_ed.cc +++ b/gtk2_ardour/ardour_ui_ed.cc @@ -676,7 +676,9 @@ ARDOUR_UI::save_ardour_state () XMLNode* window_node = new XMLNode (X_("UI")); for (list<WindowProxyBase*>::iterator i = _window_proxies.begin(); i != _window_proxies.end(); ++i) { - window_node->add_child_nocopy (*((*i)->get_state ())); + if ((*i)->rc_configured()) { + window_node->add_child_nocopy (*((*i)->get_state ())); + } } /* tearoffs */ |