diff options
author | Carl Hetherington <carl@carlh.net> | 2010-02-03 00:52:45 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-02-03 00:52:45 +0000 |
commit | c3bfc3ec4e14d147d9c4c279eb6c73947781f956 (patch) | |
tree | 250b7e09a3552419249c317eec5258d08fe801ba /gtk2_ardour/plugin_ui.cc | |
parent | faa2b3a3ad9217b0bde341f50a398515aefd703a (diff) |
Stop crash on deleting a plugin when its generic UI window is open.
git-svn-id: svn://localhost/ardour2/branches/3.0@6626 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/plugin_ui.cc')
-rw-r--r-- | gtk2_ardour/plugin_ui.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/plugin_ui.cc b/gtk2_ardour/plugin_ui.cc index 1273682083..1c7ce5d9e6 100644 --- a/gtk2_ardour/plugin_ui.cc +++ b/gtk2_ardour/plugin_ui.cc @@ -120,7 +120,7 @@ PluginUIWindow::PluginUIWindow (Gtk::Window* win, boost::shared_ptr<PluginInsert GenericPluginUI* pu = new GenericPluginUI (insert, scrollable); _pluginui = pu; - add( *pu ); + add (*pu); /* Gtk::HBox *hbox = new Gtk::HBox(); |