http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg153796.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30997
a592a061-630c-0410-9148-
cb99ea01b6c8
handleFont(cur, cmd.argument(), "textnormal");
break;
+ case LFUN_FONT_UNDERLINE:
+ cur.recordUndo();
+ cur.handleNest(createInsetMath("underline"));
+ break;
case LFUN_MATH_MODE: {
#if 1
// ignore math-mode on when already in math mode
flag.setEnabled(true);
break;
+ case LFUN_FONT_UNDERLINE:
case LFUN_FONT_FRAK:
flag.setEnabled(currentMode() != TEXT_MODE);
break;