Skip to content

Commit

Permalink
Fix error when doNotLog filter is null.
Browse files Browse the repository at this point in the history
  • Loading branch information
CoreyD97 committed Mar 1, 2023
1 parent c1f25b3 commit b524490
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public void actionPerformed(ActionEvent e) {
tglbtnIsEnabled.setSelected(preferences.getSetting(PREF_ENABLED));

ComponentGroup doNotLogPanel = new ComponentGroup(Orientation.HORIZONTAL, "Log Filter");
JTextField doNotLogFilterField = new JTextField(preferences.getSetting(PREF_DO_NOT_LOG_IF_MATCH).toString());
JTextField doNotLogFilterField = new JTextField(preferences.getSetting(PREF_DO_NOT_LOG_IF_MATCH));
doNotLogPanel.add(new JLabel("Do not log entries matching filter: "));
GridBagConstraints gbc = doNotLogPanel.generateNextConstraints(true);
gbc.weightx = 100;
Expand Down

0 comments on commit b524490

Please sign in to comment.