]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlErrorList.C
fix crash due to invalidated iterator
[lyx.git] / src / frontends / controllers / ControlErrorList.C
index c728d57b42c94e83dcdf91975a908d98160d574c..690e52a763522fd5a1c8b5f9c61cca9005606179 100644 (file)
@@ -64,7 +64,7 @@ void ControlErrorList::goTo(int item)
        ParIterator pit = buf.getParFromID(err.par_id);
 
        if (pit == buf.par_iterator_end()) {
-               lyxerr << "par id not found" << endl;
+               lyxerr << "par id " << err.par_id << " not found" << endl;
                return;
        }