Commit 39530a1a authored by Mygod's avatar Mygod

Fix a crash if you're trying to do weird thing

parent b91d9474
......@@ -459,6 +459,7 @@ class CustomRulesFragment : ToolbarFragment(), Toolbar.OnMenuItemClickListener,
override fun onDetach() {
undoManager.flush()
mode?.finish()
super.onDetach()
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment