From: David ‘Bombe’ Roden Date: Thu, 13 Nov 2008 00:32:06 +0000 (+0100) Subject: Show “Insert Project” button on project panel. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=49544d1f1dce06e86024b6d299608861a7d2ca0e;p=jSite2.git Show “Insert Project” button on project panel. --- diff --git a/src/net/pterodactylus/jsite/gui/ProjectPanel.java b/src/net/pterodactylus/jsite/gui/ProjectPanel.java index 1ade7f3..5037094 100644 --- a/src/net/pterodactylus/jsite/gui/ProjectPanel.java +++ b/src/net/pterodactylus/jsite/gui/ProjectPanel.java @@ -266,8 +266,9 @@ public class ProjectPanel extends JPanel implements DocumentListener, I18nable { JPanel buttonPanel = new JPanel(new FlowLayout(FlowLayout.TRAILING, 12, 12)); buttonPanel.setBorder(BorderFactory.createEmptyBorder(-12, -12, -12, -12)); - buttonPanel.add(new JButton(swingInterface.getDeleteProjectAction(project))); + buttonPanel.add(new JButton(swingInterface.getInsertProjectAction(project))); buttonPanel.add(new JButton(swingInterface.getCloneProjectAction(project))); + buttonPanel.add(new JButton(swingInterface.getDeleteProjectAction(project))); return buttonPanel; }