Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
FenPhoenix committed May 8, 2019
1 parent 9b98029 commit 089ac5b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions AngelLoader/Core.cs
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,6 @@ void ReportProgress(ProgressReport pr)
else
{
// Block user input to the form to mimic the UI thread being blocked, because we're async here
//View.BeginInvoke(new Action(View.Block));
View.Block(true);
ProgressBox.ProgressTask = ProgressPanel.ProgressTasks.ScanAllFMs;
ProgressBox.ShowProgressWindow(ProgressBox.ProgressTask, suppressShow: true);
Expand Down Expand Up @@ -968,10 +967,7 @@ internal static async Task ScanNewFMsForGameType(bool useViewListGamesNull = fal
}
else
{
foreach (var fm in FMsViewList)
{
if (fm.Game == null) fmsToScan.Add(fm);
}
foreach (var fm in FMsViewList) if (fm.Game == null) fmsToScan.Add(fm);
}

if (fmsToScan.Count > 0)
Expand Down Expand Up @@ -1455,6 +1451,8 @@ bool ContainsUnsafeOrJunkPhrase(string str)

#endregion

#region Open / run

internal static void OpenFMFolder(FanMission fm)
{
var installsBasePath = GetFMInstallsBasePath(fm.Game);
Expand Down Expand Up @@ -1548,6 +1546,8 @@ internal static void OpenLink(string link)
}
}

#endregion

#region Add/remove tag

internal static List<string> ListMatchingTags(string searchText)
Expand Down

0 comments on commit 089ac5b

Please sign in to comment.