Skip to content

Commit

Permalink
The "Back" button in the import peptide search dialog wasn't properly…
Browse files Browse the repository at this point in the history
… disable if you navigated back to the first page of the wizard (tried to take you to page -1)

not reported by any user
  • Loading branch information
bspratt authored Jan 21, 2025
1 parent 5d8d7a9 commit ff0ab9f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1156,6 +1156,10 @@ private void UpdateButtons()
btnBack.Hide();
btnEarlyFinish.Location = btnBack.Location;
}
else if (CurrentPage == Pages.spectra_page) // No "back" from page zero
{
btnBack.Hide();
}
else if (!btnBack.Visible)
{
btnEarlyFinish.Left = btnBack.Left - btnBack.Width - 6;
Expand Down

0 comments on commit ff0ab9f

Please sign in to comment.