Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
UI: Fixed bug where the user could select the first build newer than …
Browse files Browse the repository at this point in the history
…the second

Project: Fixed dll copy bug
  • Loading branch information
Helios747 committed Nov 18, 2015
1 parent 8809787 commit 9a04d9c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 3 additions & 1 deletion DolphinBisectTool/DolphinBisectTool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Content Include="7z.dll" />
<Content Include="7z.dll">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down
7 changes: 7 additions & 0 deletions DolphinBisectTool/MainWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ private void btnStart_Click(object sender, EventArgs e)
return;
}

if (first_dev_build.SelectedIndex >= second_dev_build.SelectedIndex)
{
MessageBox.Show("First build cannot be newer than second",
"Error", MessageBoxButtons.OK);
return;
}

if (boot_title.Checked && file_path_textbox.Text.Equals(""))
{
MessageBox.Show("Boot title enabled with no game / title selected",
Expand Down

0 comments on commit 9a04d9c

Please sign in to comment.