diff -r 851634b85893 -r d4dda62c6600 src/AddObjectDialog.cc --- a/src/AddObjectDialog.cc Wed Mar 05 02:33:58 2014 +0200 +++ b/src/AddObjectDialog.cc Wed Mar 05 03:39:31 2014 +0200 @@ -264,7 +264,7 @@ setWindowTitle (fmt (tr ("Edit %1"), typeName)); setWindowIcon (icon); - defaults->deleteSelf(); + defaults->destroy(); } // =============================================================================