From 2a0d95221211263ec6f653592c9284010f9f089c Mon Sep 17 00:00:00 2001 From: Tuomas Airaksinen Date: Thu, 7 Sep 2023 12:16:12 +0300 Subject: [PATCH] Fix one more context menu crash --- .../main/java/net/bible/android/view/activity/page/BibleView.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/net/bible/android/view/activity/page/BibleView.kt b/app/src/main/java/net/bible/android/view/activity/page/BibleView.kt index 6cea3e567c..a662c858c4 100644 --- a/app/src/main/java/net/bible/android/view/activity/page/BibleView.kt +++ b/app/src/main/java/net/bible/android/view/activity/page/BibleView.kt @@ -526,7 +526,7 @@ class BibleView(val mainBibleActivity: MainBibleActivity, } override fun onActionItemClicked(mode: ActionMode, item: MenuItem): Boolean { - if(modalOpen || showSystem) { + if(modalOpen || editingTextInJs || showSystem) { val rv = callback.onActionItemClicked(mode, item) mode.finish() return rv