diff options
author | Elie Rodrigue <elie.rodrigue@nubik.ca> | 2017-05-18 04:01:08 +0300 |
---|---|---|
committer | Elie Rodrigue <elie.rodrigue@nubik.ca> | 2017-05-18 04:01:08 +0300 |
commit | 71f1a948f367380c13e720afcd770965f410aa29 (patch) | |
tree | 63f4434e23a9561bb4c9b9e6474414a9a0844c1a | |
parent | e03e0180b4e0387286f3615f489bb2423cbdd17d (diff) |
... Missed the csproj file
And minor validation in game selecter
-rw-r--r-- | UI/Components/GameSelecter.cs | 9 | ||||
-rw-r--r-- | hakchi_gui.csproj | 2 |
2 files changed, 7 insertions, 4 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);
+ }
}
} diff --git a/hakchi_gui.csproj b/hakchi_gui.csproj index 66a12f33..90976408 100644 --- a/hakchi_gui.csproj +++ b/hakchi_gui.csproj @@ -458,7 +458,7 @@ <Compile Include="UI\Components\GameSelecter.Designer.cs">
<DependentUpon>GameSelecter.cs</DependentUpon>
</Compile>
- <Compile Include="UI\FixedTreeview.cs">
+ <Compile Include="UI\Components\FixedTreeview.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="UI\Forms\AsyncTask.cs">
|