Skip to content

Commit

Permalink
Merge #2697 Only show replace col if a replaced module is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
politas committed Mar 21, 2019
2 parents 3ca6b2b + 4b5a583 commit 542147e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ All notable changes to this project will be documented in this file.
- [GUI] Sort AD above empty checkboxes (#2691 by: HebaruSan; reviewed: politas)
- [Netkan] Reinstate no releases warnings for Netkan (#2692 by: HebaruSan; reviewed: politas)
- [GUI] Only update mod list once at GUI startup (#2694 by: HebaruSan; reviewed: politas)
- [GUI] Only show replace col if a replaced module is installed (#2697 by: HebaruSan; reviewed: politas)

## v1.25.4 Kennedy

Expand Down
2 changes: 1 addition & 1 deletion GUI/MainModList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ private void _UpdateModsList(bool repo_updated, IEnumerable<ModChange> mc)
AddLogMessage("Updating filters...");

var has_any_updates = gui_mods.Any(mod => mod.HasUpdate);
var has_any_replacements = gui_mods.Any(mod => mod.HasReplacement);
var has_any_replacements = gui_mods.Any(mod => mod.IsInstalled && mod.HasReplacement);

//TODO Consider using smart enumeration pattern so stuff like this is easier
Util.Invoke(menuStrip2, () =>
Expand Down

0 comments on commit 542147e

Please sign in to comment.