Merge pull request #2494 from SiboVG/remove-duplicate-pref
Remove duplicate "Open last design file" preference from design tab
This commit is contained in:
commit
28c92ac52a
@ -76,19 +76,6 @@ public class DesignPreferencesPanel extends PreferencesPanel {
|
||||
spin.setEditor(new SpinnerEditor(spin));
|
||||
this.add(spin, "wrap");
|
||||
|
||||
final JCheckBox autoOpenDesignFile = new JCheckBox(
|
||||
trans.get("pref.dlg.but.openlast"));
|
||||
autoOpenDesignFile.setSelected(preferences
|
||||
.isAutoOpenLastDesignOnStartupEnabled());
|
||||
autoOpenDesignFile.addActionListener(new ActionListener() {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
preferences.setAutoOpenLastDesignOnStartup(autoOpenDesignFile
|
||||
.isSelected());
|
||||
}
|
||||
});
|
||||
this.add(autoOpenDesignFile, "wrap, growx, span 2");
|
||||
|
||||
// // Always open leftmost tab when opening a component edit dialog
|
||||
final JCheckBox alwaysOpenLeftmostTab = new JCheckBox(
|
||||
trans.get("pref.dlg.checkbox.AlwaysOpenLeftmost"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user