glossary: show first visible entry in editor

Currently, if Lokalize is opened with the glossary tab opened and shown before the .po file (This happens when Lokalize is closed with the Glossary Tab open), it shows only a Subject Field selected in the Combo Box, even when no term on the List View is focused. Also, whenever all entries are deleted, the details of the last entry are not cleared from the editor.

This MR makes the following changes:

  • Selects the first visual entry of the Terms List View when Lokalize opens at the Glossary Tab.
  • Clears the editor when all entries are removed.
Edited by Finley Watson

Merge request reports

Loading