Skip to content

Commit

Permalink
AppTitle was set to previous repo branch
Browse files Browse the repository at this point in the history
Except when starting the first time directly to a repo
  • Loading branch information
gerhardol committed Nov 13, 2021
1 parent c476c5c commit 190dbad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GitUI/CommandsDialogs/FormBrowse.InitRevisionGrid.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ private void InitRevisionGrid(ObjectId? selectedId, ObjectId? firstId)
RevisionGrid.MenuCommands.MenuChanged += (sender, e) => _formBrowseMenus.OnMenuCommandsPropertyChanged();
RevisionGrid.FilterChanged += (sender, e) =>
{
Text = _appTitleGenerator.Generate(Module.WorkingDir, Module.IsValidGitWorkingDir(), branchSelect.Text, TranslatedStrings.NoBranch, e.PathFilter);
Text = _appTitleGenerator.Generate(Module.WorkingDir, Module.IsValidGitWorkingDir(), Module.GetSelectedBranch(), TranslatedStrings.NoBranch, e.PathFilter);
};
RevisionGrid.RevisionGraphLoaded += (sender, e) =>
{
Expand Down

0 comments on commit 190dbad

Please sign in to comment.