diff mainwindow.cpp @ 116:807c79350bf1

* Pull history tab out into its own widget
author Chris Cannam
date Fri, 26 Nov 2010 22:06:52 +0000
parents 78374cefa10f
children c92f5859c707
line wrap: on
line diff
--- a/mainwindow.cpp	Fri Nov 26 21:48:25 2010 +0000
+++ b/mainwindow.cpp	Fri Nov 26 22:06:52 2010 +0000
@@ -1140,10 +1140,14 @@
     case ACT_REMOVE:
     case ACT_ADD:
     case ACT_COMMIT:
+    case ACT_REVERT:
+        hgTabs->clearSelections();
+        shouldHgStat = true;
+        break;
+
     case ACT_FILEDIFF:
     case ACT_FOLDERDIFF:
     case ACT_CHGSETDIFF:
-    case ACT_REVERT:
     case ACT_SERVE:
     case ACT_TAG:
     case ACT_HG_IGNORE: