Commit MetaInfo

Revisiona320e4f776bd0229d87735195c6efd5c047180d3 (tree)
Time2009-10-03 02:06:49
AuthorFace
CommiterFace

Log Message

Refresh remote pane if branch is changed.

Change Summary

Incremental Difference

diff -r 24aef0cfac20 -r a320e4f776bd src/COIClient/ClientForm.cs
--- a/src/COIClient/ClientForm.cs Fri Oct 02 18:57:44 2009 +0200
+++ b/src/COIClient/ClientForm.cs Fri Oct 02 19:06:49 2009 +0200
@@ -1348,6 +1348,7 @@
13481348 private void branchButton_DropDownItemClicked(object sender, ToolStripItemClickedEventArgs e)
13491349 {
13501350 branchButton.Text = e.ClickedItem.Text;
1351+ refreshServer_Click(this, null);
13511352 }
13521353
13531354 private void tipMenuItem_MouseDown(object sender, MouseEventArgs e)
@@ -1365,7 +1366,11 @@
13651366 var branchMenuItem = contextRemoveMenuItem.Tag as ToolStripMenuItem;
13661367 if (branchMenuItem!=null)
13671368 {
1368- if (branchMenuItem.Text == branchButton.Text) branchButton.Text = branchButton.DropDownItems[0].Text;
1369+ if (branchMenuItem.Text == branchButton.Text)
1370+ {
1371+ branchButton.Text = branchButton.DropDownItems[0].Text;
1372+ refreshServer_Click(this, null);
1373+ }
13691374 branchMenuItem.MouseDown -= tipMenuItem_MouseDown;
13701375 branchButton.DropDownItems.Remove(branchMenuItem);
13711376 }
Show on old repository browser