]> git.lyx.org Git - features.git/commit
Fix bug #6462: Out-of-bounds index in GuiErrorList::goTo when new buffer is active.
authorVincent van Ravesteijn <vfr@lyx.org>
Fri, 12 Mar 2010 15:06:13 +0000 (15:06 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Fri, 12 Mar 2010 15:06:13 +0000 (15:06 +0000)
commit7d30e34b08827a4fd6449dc12e86dd7eb37ee04e
tree4e08b3b0a5a6046604e6ab431fa7f01cafe70730
parent2ef545a2504a82474d289612b635c29149272add
Fix bug #6462: Out-of-bounds index in GuiErrorList::goTo when new buffer is active.

Cache the buffer and errorList in the GuiErrorList dialog. Now, we can check whether the active buffer is also the buffer for which the errors are shown. We switch back to the correct buffer, when one clicks on an item or clicks "View complete log".

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33726 a592a061-630c-0410-9148-cb99ea01b6c8
src/frontends/qt4/GuiErrorList.cpp
src/frontends/qt4/GuiErrorList.h