Skip to content

Commit

Permalink
Disable Map selector when searching
Browse files Browse the repository at this point in the history
  • Loading branch information
Manu098vm committed Oct 5, 2023
1 parent 4e52cad commit bfa791d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions TeraFinder.Plugins/Forms/CalculatorForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ private void DisableControls()
showresults.Enabled = false;
txtSeed.Enabled = false;
numFrames.Enabled = false;
cmbMap.Enabled = false;
}

private void EnableControls(bool enableProfile = false)
Expand All @@ -439,6 +440,7 @@ private void EnableControls(bool enableProfile = false)
showresults.Enabled = true;
txtSeed.Enabled = true;
numFrames.Enabled = true;
cmbMap.Enabled = true;
}

private void UpdateLabel()
Expand Down
2 changes: 2 additions & 0 deletions TeraFinder.Plugins/Forms/RewardCalcForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ private void DisableControls()
chkAllResults.Enabled = false;
txtSeed.Enabled = false;
numMaxCalc.Enabled = false;
cmbMap.Enabled = false;
}

private void EnableControls(bool enableProfile = false)
Expand All @@ -304,6 +305,7 @@ private void EnableControls(bool enableProfile = false)
chkAllResults.Enabled = true;
txtSeed.Enabled = true;
numMaxCalc.Enabled = true;
cmbMap.Enabled = true;
}

private void UpdateLabel()
Expand Down

0 comments on commit bfa791d

Please sign in to comment.