Show “Insert Project” button on project panel.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 13 Nov 2008 00:32:06 +0000 (01:32 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 13 Nov 2008 00:32:06 +0000 (01:32 +0100)
src/net/pterodactylus/jsite/gui/ProjectPanel.java

index 1ade7f3..5037094 100644 (file)
@@ -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;
        }