Skip to content

Commit

Permalink
Fix second part of #241
Browse files Browse the repository at this point in the history
  • Loading branch information
tuomas2 committed Jan 31, 2019
1 parent 009c1b4 commit 1a97667
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,11 @@ class MainBibleActivity : CustomTitlebarActivityBase(), VerseActionModeMediator.
if(GridChoosePassageBook::class.java.name == data?.component?.className) {
val verseStr = data?.extras!!.getString("verse")
val verse = VerseFactory.fromString(navigationControl.versification, verseStr)
if(pageControl.currentPageManager.isMyNoteShown) {
val doc = pageControl.currentPageManager.currentBible.currentDocument
pageControl.currentPageManager.setCurrentDocument(doc)
}

windowControl.activeWindowPageManager.currentPage.key = verse
return
}
Expand Down

0 comments on commit 1a97667

Please sign in to comment.