diff options
Diffstat (limited to 'UI/Components/GameSelecter.cs')
-rw-r--r-- | UI/Components/GameSelecter.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/UI/Components/GameSelecter.cs b/UI/Components/GameSelecter.cs index 9297b109..7f8483a2 100644 --- a/UI/Components/GameSelecter.cs +++ b/UI/Components/GameSelecter.cs @@ -55,10 +55,13 @@ namespace com.clusterrr.hakchi_gui.UI.Components TreeNode tn = FindNode(app, treeView1.Nodes);
if (tn != null)
{
- tn.Checked = app.Selected;
- if (tn.Parent != null)
+ if (tn.Checked != app.Selected)
{
- ValidateFolderCheck(tn.Parent);
+ tn.Checked = app.Selected;
+ if (tn.Parent != null)
+ {
+ ValidateFolderCheck(tn.Parent);
+ }
}
} |