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/window_proxy.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/window_proxy.cc')
-rwxr-xr-x | gtk2_ardour/window_proxy.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/window_proxy.cc b/gtk2_ardour/window_proxy.cc index 28a90215af..b6f7508ad2 100755 --- a/gtk2_ardour/window_proxy.cc +++ b/gtk2_ardour/window_proxy.cc @@ -35,6 +35,10 @@ WindowProxyBase::WindowProxyBase (string const & name, XMLNode const * node) , _width (-1) , _height (-1) { + if (!node) { + return; + } + XMLNodeList children = node->children (); XMLNodeList::const_iterator i = children.begin (); |