** We show (Eq:bla,#) for labeled formulas
** The first forward delete removes the label
** The second forward delete removes the number
Fixes http://bugzilla.lyx.org/show_bug.cgi?id=2556
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23762
a592a061-630c-0410-9148-
cb99ea01b6c8
if (label_[row]) {
if (label.empty()) {
delete label_[row];
- nonum_[row] = true;
label_[row] = dummy_pointer;
} else
label_[row]->updateCommand(label);
return docstring();
if (!label_[row])
return from_ascii("(#)");
- return '(' + label_[row]->screenLabel() + ')';
+ return '(' + label_[row]->screenLabel() + from_ascii(", #)");
}