diff options
Diffstat (limited to 'gtk2_ardour/window_proxy.h')
-rwxr-xr-x | gtk2_ardour/window_proxy.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gtk2_ardour/window_proxy.h b/gtk2_ardour/window_proxy.h index ac102baa4d..58a67eb391 100755 --- a/gtk2_ardour/window_proxy.h +++ b/gtk2_ardour/window_proxy.h @@ -90,10 +90,12 @@ public: return _window; } - /** Set the window and set it up. To be used after initial window creation */ - void set (T* w) { + /** Set the window and maybe set it up. To be used after initial window creation */ + void set (T* w, bool s = true) { _window = w; - setup (); + if (s) { + setup (); + } } private: |