Hi,
in Lyx 1.6.1, when in a Lyx-Code paragraph, inserting an index entry (Alt-I,D) puts the font selection into a somewhat undefined state. Just typing produces roman font, but hitting Ctrl-Alt-P still produces roman font; only issuing Ctrl-Alt-P once again finally gives typewriter font inside the inset.