From: David ‘Bombe’ Roden Date: Fri, 22 Jan 2010 21:19:56 +0000 (+0100) Subject: Disable “insert redirect” checkbox on dialog creation. X-Git-Tag: 0.9~14 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=bda782271614e634e271693ef164fe29531641ce;p=jSite.git Disable “insert redirect” checkbox on dialog creation. --- diff --git a/src/de/todesbaum/jsite/gui/ProjectFilesPage.java b/src/de/todesbaum/jsite/gui/ProjectFilesPage.java index 5fc0bcb..b2fe3d9 100644 --- a/src/de/todesbaum/jsite/gui/ProjectFilesPage.java +++ b/src/de/todesbaum/jsite/gui/ProjectFilesPage.java @@ -276,6 +276,7 @@ public class ProjectFilesPage extends TWizardPage implements ActionListener, Lis fileOptionsInsertRedirectCheckBox.setName("insert-redirect"); fileOptionsInsertRedirectCheckBox.setMnemonic(KeyEvent.VK_R); fileOptionsInsertRedirectCheckBox.addActionListener(this); + fileOptionsInsertRedirectCheckBox.setEnabled(false); final TLabel customKeyLabel = new TLabel(I18n.getMessage("jsite.project-files.custom-key") + ":", KeyEvent.VK_K, fileOptionsCustomKeyTextField); fileOptionsPanel.add(fileOptionsInsertRedirectCheckBox, new GridBagConstraints(0, 5, 1, 1, 0.0, 0.0, GridBagConstraints.LINE_START, GridBagConstraints.NONE, new Insets(6, 18, 0, 0), 0, 0));