* InsetInfo.cpp (updateInfo): insert the text using inherit_font
so that there is not an extra \textsf output to LaTeX; change
"shortcut" to display the first shortcut, not the last (if only
to be consistent with menus).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27234
a592a061-630c-0410-9148-
cb99ea01b6c8
break;
}
if (type_ == SHORTCUT_INFO)
- setText(bindings.rbegin()->print(KeySequence::Portable),
- Font(getLayout().font()), false);
+ setText(bindings.begin()->print(KeySequence::Portable),
+ Font(inherit_font), false);
else
setText(theTopLevelKeymap().printBindings(func, KeySequence::Portable),
- Font(getLayout().font()), false);
+ Font(inherit_font), false);
break;
}
case LYXRC_INFO: {