diff src/historywidget.cpp @ 514:306a62fe851e

Add "Close branch" menu option. Is currently available in some cases where it should not be, and using it exposes the fact that the chain of marked-closed changesets is not yet right in grapher.
author Chris Cannam
date Tue, 18 Oct 2011 16:50:05 +0100
parents ddc7238fc3b0
children 000f13faa089
line wrap: on
line diff
--- a/src/historywidget.cpp	Tue Oct 18 12:49:39 2011 +0100
+++ b/src/historywidget.cpp	Tue Oct 18 16:50:05 2011 +0100
@@ -338,6 +338,9 @@
     connect(scene, SIGNAL(newBranch(QString)),
             this, SIGNAL(newBranch(QString)));
 
+    connect(scene, SIGNAL(closeBranch(QString)),
+            this, SIGNAL(closeBranch(QString)));
+
     connect(scene, SIGNAL(tag(QString)),
             this, SIGNAL(tag(QString)));
 }