profiles: redraw after adding an account (#2260)

This commit is contained in:
Owain van Brakel
2020-01-17 02:32:39 +01:00
committed by Kyle
parent 3acfec3689
commit d924d5e0a9

View File

@@ -295,14 +295,14 @@ class ProfilesPanel extends PluginPanel
{ {
return; return;
} }
redrawProfiles();
} }
catch (InvalidKeySpecException | NoSuchAlgorithmException | IllegalBlockSizeException | InvalidKeyException | BadPaddingException | NoSuchPaddingException ex) catch (InvalidKeySpecException | NoSuchAlgorithmException | IllegalBlockSizeException | InvalidKeyException | BadPaddingException | NoSuchPaddingException ex)
{ {
log.error(e.toString()); log.error(e.toString());
} }
this.addAccount(data);
txtAccountLabel.setText(ACCOUNT_LABEL); txtAccountLabel.setText(ACCOUNT_LABEL);
txtAccountLogin.setText(ACCOUNT_USERNAME); txtAccountLogin.setText(ACCOUNT_USERNAME);