diff src/changesetscene.cpp @ 401:c3276f8998ee

Ensure scene rect resizes to accommodate detail items
author Chris Cannam
date Wed, 25 May 2011 15:38:48 +0100
parents 61bde1f0ff0a
children 75003687f364
line wrap: on
line diff
--- a/src/changesetscene.cpp	Wed May 25 14:59:09 2011 +0100
+++ b/src/changesetscene.cpp	Wed May 25 15:38:48 2011 +0100
@@ -129,12 +129,15 @@
 	m_detailShown->hideDetail();
     }
     m_detailShown = csi;
+    itemAddCompleted();
+    csi->ensureVisible();
 }
 
 void
 ChangesetScene::changesetDetailHidden()
 {
     m_detailShown = 0;
+    itemAddCompleted();
 }
 
 void