diff options
-rw-r--r-- | MainForm.cs | 12 | ||||
-rw-r--r-- | Properties/AssemblyInfo.cs | 4 | ||||
-rw-r--r-- | hakchi_gui.csproj | 16 |
3 files changed, 17 insertions, 15 deletions
diff --git a/MainForm.cs b/MainForm.cs index 54dba91a..42e31108 100644 --- a/MainForm.cs +++ b/MainForm.cs @@ -217,11 +217,13 @@ namespace com.clusterrr.hakchi_gui item.Checked = ConfigIni.MaxGamesPerFolder == f;
item.Click += delegate (object sender, EventArgs e)
{
- (maximumGamesPerFolderToolStripMenuItem.DropDownItems.Find("folders" + ConfigIni.MaxGamesPerFolder.ToString(), true).First()
- as ToolStripMenuItem).Checked = false;
+ var old = maximumGamesPerFolderToolStripMenuItem.DropDownItems.Find("folders" + ConfigIni.MaxGamesPerFolder.ToString(), true);
+ if (old.Count() > 0)
+ (old.First() as ToolStripMenuItem).Checked = false;
ConfigIni.MaxGamesPerFolder = (byte)((sender as ToolStripMenuItem).Tag);
- (maximumGamesPerFolderToolStripMenuItem.DropDownItems.Find("folders" + ConfigIni.MaxGamesPerFolder.ToString(), true).First()
- as ToolStripMenuItem).Checked = true;
+ var n = maximumGamesPerFolderToolStripMenuItem.DropDownItems.Find("folders" + ConfigIni.MaxGamesPerFolder.ToString(), true);
+ if (n.Count() > 0)
+ (n.First() as ToolStripMenuItem).Checked = true;
};
maximumGamesPerFolderToolStripMenuItem.DropDownItems.Add(item);
}
@@ -836,7 +838,7 @@ namespace com.clusterrr.hakchi_gui DialogResult RequireKernelDump()
{
if (File.Exists(WorkerForm.KernelDumpPath)) return DialogResult.OK; // OK - already dumped
- // Asking user to dump kernel
+ // Asking user to dump kernel
if (MessageBox.Show(Resources.NoKernelWarning, Resources.NoKernel, MessageBoxButtons.YesNo, MessageBoxIcon.Warning)
== System.Windows.Forms.DialogResult.Yes)
{
diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 7d1d7eda..7a18d061 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -33,6 +33,6 @@ using System.Resources; // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("2.0.21.53")]
-[assembly: AssemblyFileVersion("2.0.21.53")]
+[assembly: AssemblyVersion("2.0.21.54")]
+[assembly: AssemblyFileVersion("2.0.21.54")]
[assembly: NeutralResourcesLanguageAttribute("en-US")]
diff --git a/hakchi_gui.csproj b/hakchi_gui.csproj index 38fdd0e5..8bfdfa85 100644 --- a/hakchi_gui.csproj +++ b/hakchi_gui.csproj @@ -31,8 +31,8 @@ <PublisherName>Alexey %27Cluster%27 Avdyukhin</PublisherName>
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
<WebPage>index.html</WebPage>
- <ApplicationRevision>53</ApplicationRevision>
- <ApplicationVersion>2.0.21.53</ApplicationVersion>
+ <ApplicationRevision>54</ApplicationRevision>
+ <ApplicationVersion>2.0.21.54</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<CreateDesktopShortcut>true</CreateDesktopShortcut>
<PublishWizardCompleted>true</PublishWizardCompleted>
@@ -2660,32 +2660,32 @@ <ItemGroup>
<PublishFile Include="data\GameGenieDB.xml">
<Visible>False</Visible>
+ <PublishState>Include</PublishState>
+ <IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
- <PublishState>Include</PublishState>
- <IncludeHash>True</IncludeHash>
<FileType>File</FileType>
</PublishFile>
<PublishFile Include="data\nescarts.xml">
<Visible>False</Visible>
+ <PublishState>Include</PublishState>
+ <IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
- <PublishState>Include</PublishState>
- <IncludeHash>True</IncludeHash>
<FileType>File</FileType>
</PublishFile>
<PublishFile Include="data\snescarts.xml">
<Visible>False</Visible>
+ <PublishState>Include</PublishState>
+ <IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
- <PublishState>Include</PublishState>
- <IncludeHash>True</IncludeHash>
<FileType>File</FileType>
</PublishFile>
</ItemGroup>
|