mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
* math_hullinset.C (numbered): clear the label when unnumbering
(workaround for bug 2556). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16734 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
798af7d8f3
commit
6f8c2a51f5
@ -438,6 +438,8 @@ void InsetMathHull::label(row_type row, docstring const & label)
|
|||||||
void InsetMathHull::numbered(row_type row, bool num)
|
void InsetMathHull::numbered(row_type row, bool num)
|
||||||
{
|
{
|
||||||
nonum_[row] = !num;
|
nonum_[row] = !num;
|
||||||
|
if (nonum_[row])
|
||||||
|
label_[row].clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user