void MenuDefinition::catSub(docstring const & name)
{
add(MenuItem(MenuItem::Submenu,
- qt_("&More..."), toqstr(name), QString(), false));
+ qt_("More...|M"), toqstr(name), QString(), false));
}
void MenuDefinition::cat(MenuDefinition const & other)
{
if (!bv)
return;
+ Cursor const & cur = bv->cursor();
+ if (!cur.inTexted())
+ return;
WordLangTuple wl;
docstring_list suggestions;
- Cursor const & cur = bv->cursor();
Paragraph const & par = cur.paragraph();
pos_type from = cur.pos();
pos_type to = from;