src/addObjectDialog.cc

changeset 560
39085791128f
parent 557
04e140bdeb0b
child 594
d9feccafcbf7
--- a/src/addObjectDialog.cc	Wed Dec 18 17:03:35 2013 +0200
+++ b/src/addObjectDialog.cc	Wed Dec 18 17:44:31 2013 +0200
@@ -243,7 +243,7 @@
 	setWindowTitle (fmt (tr ("Edit %1"), typeName));
 
 	setWindowIcon (icon);
-	delete defaults;
+	defaults->deleteSelf();
 }
 
 // =============================================================================

mercurial