Skip to content

Commit

Permalink
Fix bug where the repo list fails to load when changing languages #365
Browse files Browse the repository at this point in the history
  • Loading branch information
DanTheMan827 authored Sep 2, 2020
1 parent 3583ad9 commit 9f59c63
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,8 @@ private void MainForm_Shown(object sender, EventArgs e)

// centralized upgrade actions system
new Upgrade(this).Run();

// populate mod repository list
populateRepos();

// nothing else will call this at the moment, so need to do it
Expand Down Expand Up @@ -802,6 +804,7 @@ private void LoadLanguages()
this.FormInitialize();
this.SyncConsoleSettings(true);
this.SyncConsoleType(true);
this.populateRepos();
this.Show();
};
if (Thread.CurrentThread.CurrentUICulture.Name.ToUpper() == langCodes[language].ToUpper())
Expand Down

0 comments on commit 9f59c63

Please sign in to comment.