* math_hullinset.C (numbered): clear the label when unnumbering

(workaround for bug 2556).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16733 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2007-01-17 16:17:10 +00:00
parent b902aaa8ba
commit 196bd6a4b0
3 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-01-17 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* math_hullinset.C (numbered): clear the label when unnumbering
(workaround for bug 2556).
2007-01-16 Enrico Forestieri <forenr@tlc.unipr.it>
* src/mathed/math_extern.C (captureOutput): redirect stdin from a file.

View File

@ -412,6 +412,8 @@ void MathHullInset::label(row_type row, string const & label)
void MathHullInset::numbered(row_type row, bool num)
{
nonum_[row] = !num;
if (nonum_[row])
label_[row].clear();
}

View File

@ -120,6 +120,8 @@ What's new
- Fix an undo crash crash with nested font changes in math (bug 3019).
- Clear label when a formula is unnumbered (bug 2556).
- Disallow pressing the add button in the citation dialog when no citations
are available, preventing a crash (bug 3057).