The called BasePanel may not be the currently selected panel, so start with the top most notebook, find the active tab, then find out which page in the active tab is active.
This PR changes how the active Language tab is determined. By starting with the active tab, the correct display page for the selected language is retrieved, which is necessary for bookmarking to work correctly.
The called BasePanel may not be the currently selected panel, so start with the top most notebook, find the active tab, then find out which page in the active tab is active.
This PR changes how the active Language tab is determined. By starting with the active tab, the correct display page for the selected language is retrieved, which is necessary for bookmarking to work correctly.
Closes #1347