]> git.lyx.org Git - features.git/commit
Fix crash when modifying an InsetRef inserted by the current author.
authorRichard Kimberly Heck <rikiheck@lyx.org>
Sat, 29 Jul 2023 02:57:57 +0000 (22:57 -0400)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Sat, 29 Jul 2023 02:57:57 +0000 (22:57 -0400)
commitaacc5147b633b738579f283c518cceb305b73d38
treecb7d671059554ea2d20f6771ea768c0776202d0d
parent343cf06d19c81403fd02036dba227b749fd402ff
Fix crash when modifying an InsetRef inserted by the current author.

The problem was that, in this case, we actually delete the current inset
in changeCmdName. So when we return from that and attempt to call initView(),
we're in a non-existent inset.
src/Cursor.cpp
src/insets/InsetCommand.cpp