Skip to content

Commit

Permalink
Merge pull request #228 from nstlaurent/local-add-view-fix
Browse files Browse the repository at this point in the history
use key instead of title
  • Loading branch information
nstlaurent authored Dec 21, 2020
2 parents 2600cc5 + 098704b commit 52cadd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DoomLauncher/Forms/MainForm_Play.cs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ void m_currentPlayForm_SaveSettings(object sender, EventArgs e)
private List<ITabView> GetAdditionalTabViews()
{
List<ITabView> views = new List<ITabView>();
views.AddRange(m_tabHandler.TabViews.Where(x => x.Title == TabKeys.LocalKey));
views.AddRange(m_tabHandler.TabViews.Where(x => TabKeys.LocalKey.Equals(x.Key)));
views.AddRange(m_tabHandler.TabViews.Where(x => x is TagTabView));
return views;
}
Expand Down

0 comments on commit 52cadd2

Please sign in to comment.