Skip to content

Commit

Permalink
Revert button disable/enable
Browse files Browse the repository at this point in the history
  • Loading branch information
zyro670 committed Sep 30, 2023
1 parent 6742e4e commit 0e27d54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion PokeViewer.NET/MainViewer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public partial class MainViewer : Form
{
public ViewerExecutor Executor = null!;
private const string ViewerVersion = "2.5.2";
private const int AzureBuildID = 438;
private const int AzureBuildID = 439;
private readonly bool[] FormLoaded = new bool[8];
private int GameType;
private SimpleTrainerInfo TrainerInfo = new();
Expand Down
3 changes: 1 addition & 2 deletions PokeViewer.NET/SubForms/WideViewerSV.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ private async Task ScanOverworld(CancellationToken token)
outputBox[i].Text = string.Empty;
}

button1.Enabled = false;
button1.Text = "Saving...";
await SVSaveGameOverworld(token).ConfigureAwait(false);
button1.Text = "Scanning...";
var test = await ReadBlock(Blocks.Overworld, token).ConfigureAwait(false);
Expand Down Expand Up @@ -133,7 +133,6 @@ private async Task ScanOverworld(CancellationToken token)
}
await Click(B, 1_000, token).ConfigureAwait(false);
button1.Text = "Scan";
button1.Enabled = true;
return;
}

Expand Down

0 comments on commit 0e27d54

Please sign in to comment.