diff widgets/PropertyBox.cpp @ 728:596414d20ef0 tonioni

Fix failure to delete property stack when pane is deleted (sometimes). Fixes Tony crash bug #881, needs to go in SV as well.
author Chris Cannam
date Tue, 04 Mar 2014 15:28:32 +0000
parents 461a600ff26d
children b6dc57688c72
line wrap: on
line diff
--- a/widgets/PropertyBox.cpp	Mon Feb 24 17:04:48 2014 -0500
+++ b/widgets/PropertyBox.cpp	Tue Mar 04 15:28:32 2014 +0000
@@ -117,7 +117,7 @@
 PropertyBox::populateViewPlayFrame()
 {
 #ifdef DEBUG_PROPERTY_BOX
-    cerr << "PropertyBox(" << m_container << ")::populateViewPlayFrame" << endl;
+    cerr << "PropertyBox[" << this << ":" << m_container << "]::populateViewPlayFrame" << endl;
 #endif
 
     if (m_viewPlayFrame) {
@@ -563,7 +563,9 @@
 void
 PropertyBox::unitDatabaseChanged()
 {
+#ifdef DEBUG_PROPERTY_BOX
     cerr << "PropertyBox[" << this << "]: unitDatabaseChanged" << endl;
+#endif
     blockSignals(true);
 
 //    cerr << "my container is " << m_container << endl;