Re: [patch] bug 3358: LyX crashes with View-Open/Close all insets

2007-04-10 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: Year, that's a solution to the crash but still, there is something fishy in there... The problem is that inset-toggle exists in mathed, but is something pretty different. Jürgen

Re: [patch] bug 3358: LyX crashes with View->Open/Close all insets

2007-04-10 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > Year, that's a solution to the crash but still, there is something fishy > in there... The problem is that inset-toggle exists in mathed, but is something pretty different. Jürgen

[patch] bug 3358: LyX crashes with View-Open/Close all insets

2007-04-09 Thread Jürgen Spitzmüller
all-insets-toggle is for text insets (collapsables and charstyles) only. The attached patch skips math insets and thus fixes the crash. Committing now. Jürgen Index: src/lyxfunc.C === --- src/lyxfunc.C (Revision 17755) +++

Re: [patch] bug 3358: LyX crashes with View-Open/Close all insets

2007-04-09 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: all-insets-toggle is for text insets (collapsables and charstyles) only. The attached patch skips math insets and thus fixes the crash. Year, that's a solution to the crash but still, there is something fishy in there... Abdel.

[patch] bug 3358: LyX crashes with View->Open/Close all insets

2007-04-09 Thread Jürgen Spitzmüller
all-insets-toggle is for text insets (collapsables and charstyles) only. The attached patch skips math insets and thus fixes the crash. Committing now. Jürgen Index: src/lyxfunc.C === --- src/lyxfunc.C (Revision 17755) +++

Re: [patch] bug 3358: LyX crashes with View->Open/Close all insets

2007-04-09 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: all-insets-toggle is for text insets (collapsables and charstyles) only. The attached patch skips math insets and thus fixes the crash. Year, that's a solution to the crash but still, there is something fishy in there... Abdel.