Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#108 showCategoryTree setting not working correctly (+code fix)

v1.0 (example)
open
nobody
5
2011-02-22
2011-02-22
Galahad
No

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.

Discussion

  • Galahad
    Galahad
    2011-02-22

    I also uploaded the fix as a patch file (ID 3189208).

     
  • Galahad
    Galahad
    2011-05-05

    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).