Skip to content

Commit

Permalink
Improve UI of account creation
Browse files Browse the repository at this point in the history
Disable the backup button while creating the profile.
  • Loading branch information
zapek committed Feb 14, 2024
1 parent 30be6dc commit 1cabc7d
Showing 1 changed file with 5 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,20 +135,11 @@ private String sanitizeHostname(String hostname)

private void setInProgress(boolean inProgress)
{
if (inProgress)
{
okButton.setDisable(true);
profileName.setDisable(true);
locationName.setDisable(true);
progress.setVisible(true);
}
else
{
okButton.setDisable(false);
profileName.setDisable(false);
locationName.setDisable(false);
progress.setVisible(false);
}
okButton.setDisable(inProgress);
profileName.setDisable(inProgress);
locationName.setDisable(inProgress);
importBackup.setDisable(inProgress);
progress.setVisible(inProgress);
}

public void generateProfileAndLocation(String profileName, String locationName)
Expand Down

0 comments on commit 1cabc7d

Please sign in to comment.