showCategoryTree setting not working correctly (+code fix)
Brought to you by:
djemili
Details:
jMemorize had shown the category tree on start depending on whether it has been open when it had run last time. Due to a minor bug (see below) jMemorize now always stars with the category tree hidden.
Solution:
in package "jmemorize.gui.swing.frames, class "MainFrame", method "gotoBrowseMode()", line 615 change the line from
showCategoryTree(m_showCategoryTreeOld);
to
showCategoryTree(m_showCategoryTree);
That's all. It work's fine afterwards.
I also uploaded the fix as a patch file (ID 3189208).
Sorry, the proposed solution is incorrect - when jMemorize switches from learning mode back to browsing mode the category tree is hidden again.
The correct solution is to set m_showCategoryTreeOld in MainFrame.loadSettings() (line 816).