fix up fwd/reverse stuff in semitone mode
[ardour.git] / gtk2_ardour / window_proxy.cc
index 28a90215af819e0a48c0c4a46ac1df3e9d9139f0..c37fd0e0432d5a4f917659257f6ceb6d1e8606e2 100755 (executable)
@@ -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 ();
@@ -78,7 +82,6 @@ WindowProxyBase::maybe_show ()
 {
        if (_visible) {
                show ();
-               setup ();
        }
 }