sumatrapdf
sumatrapdf copied to clipboard
Navigate to selected bookmark
In this pull request I made FavTreeItemClicked working for currently selected tree item.
When there’s only one bookmark, you can navigate to it only once because navigation to the bookmark page happens in the FavTreeSelectionChanged callback. This callback is triggered only when a different tree element is selected.
In the code, there’s also an onClick handler, but it was commented out in this commit: https://github.com/sumatrapdfreader/sumatrapdf/commit/32b298161e6286d23d8253d874f9f2aca38c65ef
because of two related issues.: https://github.com/sumatrapdfreader/sumatrapdf/issues/1716 https://github.com/sumatrapdfreader/sumatrapdf/issues/2202