~monodevelop-bzr/monodevelop-bzr/trunk

« back to all changes in this revision

Viewing changes to Dialogs/BranchSelectionDialog.cs

  • Committer: Levi Bard
  • Date: 2010-02-02 15:01:27 UTC
  • Revision ID: taktaktaktaktaktaktaktaktaktak@gmail.com-20100202150127-8mnnx67hipedup0d
When only one branch is known, default to it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
                                }
97
97
                        }
98
98
                        iter = branchStore.AppendValues (string.Empty);
99
 
 
 
99
                        
 
100
                        if (1 == branchLocations.Count) {
 
101
                                branchStore.GetIterFirst (out iter);
 
102
                        }// when only one branch is known, default to it
 
103
                        
100
104
                        branchTreeView.Selection.SelectIter (found? defaultIter: iter);
101
105
 
102
106
                        if (!string.IsNullOrEmpty (localDirectory))