Label cell goes away with SelectionEvaluate

When a given cell has a label (given with the CellLabel->"label" option of the cell), then this label disappears after calling

SelectionEvaluate[ nb ]


when the contents of the cell is selected. Why is that? Is it possible to keep the label after evaluating its content (without making a new cell, so not using the

SelectionEvaluateCreateCell[]


command?

Thanks for all help!

-
Could you describe steps you are performing? I can't reproduce your observation. I have to go now but just in case, take a look at CellLabelAutoDelete. –  Kuba Sep 11 '13 at 13:59
Yes, I can add the steps, of course. Should I add an answer for that, to be able to format it? Thanks! –  Gabriel Sep 11 '13 at 14:01
CellLabelAutoDelete seems to do the job! Thanks! –  Gabriel Sep 11 '13 at 14:03

If you try:

Options[EvaluationCell[], CellLabelAutoDelete]

{CellLabelAutoDelete -> True}


so you see we have to change this default setting by

SetOptions[EvaluationCell[], CellLabelAutoDelete -> False]


(EvaluationCell[] is only for example, do this for the cells you need to)

For global control go to Options Inspector:

Shift+Ctrl+O > Cell Options > Cell Labels > CellLabelAutoDelete

-