Skip to content

Commit

Permalink
Merge #3842 Tooltip for auto-installed checkboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed May 22, 2023
2 parents 4beea0f + 3b5ad27 commit 9f74d97
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ All notable changes to this project will be documented in this file.
- [GUI] Show unmanaged files in game folder (#3833 by: HebaruSan; reviewed: techman83)
- [GUI] Installation history tab (#3834 by: HebaruSan; reviewed: techman83)
- [GUI] Hide fake instance creation in GUI (#3839 by: HebaruSan; reviewed: techman83)
- [GUI] Tooltip for auto-installed checkboxes (#3842 by: HebaruSan; reviewed: techman83)

### Bugfixes

Expand Down
3 changes: 2 additions & 1 deletion GUI/Model/ModList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,8 @@ private DataGridViewRow MakeRow(GUIMod mod, List<ModChange> changes, string inst
var autoInstalled = mod.IsInstalled && !mod.IsAutodetected
? (DataGridViewCell) new DataGridViewCheckBoxCell()
{
Value = mod.IsAutoInstalled
Value = mod.IsAutoInstalled,
ToolTipText = Properties.Resources.MainModListAutoInstalledToolTip,
}
: new DataGridViewTextBoxCell()
{
Expand Down
3 changes: 3 additions & 0 deletions GUI/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions GUI/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ If you suspect a bug in the client: https://github.com/KSP-CKAN/CKAN/issues/new/
<data name="MainModListAll" xml:space="preserve"><value>All ({0})</value></data>
<data name="MainModListUpdatingTray" xml:space="preserve"><value>Updating tray...</value></data>
<data name="MainModListAutoDetected" xml:space="preserve"><value>AD</value></data>
<data name="MainModListAutoInstalledToolTip" xml:space="preserve"><value>If checked, auto-uninstall this mod if everything that depends on it is removed</value></data>
<data name="MainModListUnknownFilter" xml:space="preserve"><value>Unknown filter type {0} in IsModInFilter</value></data>
<data name="MainRecommendationsTitle" xml:space="preserve"><value>Choose recommended, suggested, or supporting mods</value></data>
<data name="MainRecommendationsNoneFound" xml:space="preserve"><value>No recommended, suggested, or supporting mods found.</value></data>
Expand Down

0 comments on commit 9f74d97

Please sign in to comment.