Improved code

This commit is contained in:
Lenni0451 2024-11-02 23:33:59 +01:00
parent 7154b3dd82
commit 197f9dd256
No known key found for this signature in database
GPG Key ID: 5D59B86635AD3F2F

View File

@ -157,7 +157,6 @@ public class AccountsTab extends UITab {
{ {
final JPanel addButtons = new JPanel(); final JPanel addButtons = new JPanel();
addButtons.setLayout(new GridLayout(1, 3, BORDER_PADDING, 0)); addButtons.setLayout(new GridLayout(1, 3, BORDER_PADDING, 0));
contentPane.add(addButtons);
{ {
JButton addOfflineAccountButton = new JButton(I18n.get("tab.accounts.add_offline.label")); JButton addOfflineAccountButton = new JButton(I18n.get("tab.accounts.add_offline.label"));
addOfflineAccountButton.addActionListener(event -> { addOfflineAccountButton.addActionListener(event -> {