Skip to content
Snippets Groups Projects
Commit 4f6b0244 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Fixed a highlight rule change bug

parent e39c0862
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -62,7 +62,7 @@ class HighlightRuleFragment : SettingsFragment(), SettingsFragment.Savable, ...@@ -62,7 +62,7 @@ class HighlightRuleFragment : SettingsFragment(), SettingsFragment.Savable,
} }
private fun applyChanges() = HighlightRuleManager.HighlightRule( private fun applyChanges() = HighlightRuleManager.HighlightRule(
isInverse = isInverse ?: rule?.isInverse ?: false, isInverse = rule?.isInverse ?: isInverse ?: false,
isEnabled = enabled.isChecked, isEnabled = enabled.isChecked,
name = name.text.toString(), name = name.text.toString(),
isRegEx = isRegex.isChecked, isRegEx = isRegex.isChecked,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment