Skip to content

Commit

Permalink
Set reasonable config defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
scottdeboy committed Dec 17, 2023
1 parent d907e4e commit 6a77017
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,10 @@ private void configureTabPlacement(int value) {
public void updateModel(){
AbstractConfiguration config = settingsManager.getGlobalConfiguration();

statusBar.setSelected(config.getBoolean("statusBar"));
receivers.setSelected(config.getBoolean("showReceivers"));
toolBar.setSelected(config.getBoolean("toolbar"));
configureTabPlacement(config.getInt("tabPlacement"));
statusBar.setSelected(config.getBoolean("statusBar", false));
receivers.setSelected(config.getBoolean("showReceivers", false));
toolBar.setSelected(config.getBoolean("toolbar", false));
configureTabPlacement(config.getInt("tabPlacement", SwingConstants.TOP));
Enumeration e = lookAndFeelGroup.getElements();
while (e.hasMoreElements()) {
JRadioButton radioButton = (JRadioButton) e.nextElement();
Expand Down

0 comments on commit 6a77017

Please sign in to comment.