On Mon, Nov 01, 2021 at 05:01:34PM +0100, Jürgen Spitzmüller wrote: > Am Montag, dem 01.11.2021 um 14:15 +0100 schrieb Pavel Sanda: > > Looking at the backtrace and commit it seems that > > + TocItem const & item = > > + gui_view_.tocModels().currentItem(current_type_, > > index); > > triggers the crash. > > > > Juergen, can you reproduce? > > Yes. I am not sure what goes on here exactly, but the toc seems empty > after the window switch. I don't think the code above is to blame, it > just reveals the problem. > > The attached patch prevents the crash, but I am not sure whether it > doesn't hide the actual problem. Do we need to update the respective > toc somewhere? But where?
I don't know the code in question either, but I can try to look later this week. Pavel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel