InsetInfo: use localized shortcuts

This commit is contained in:
Juergen Spitzmueller 2018-08-01 15:17:46 +02:00
parent 6597b8f53a
commit abaccece15

View File

@ -510,9 +510,9 @@ void InsetInfo::updateBuffer(ParIterator const & it, UpdateType utype) {
break; break;
} }
if (type_ == SHORTCUT_INFO) if (type_ == SHORTCUT_INFO)
setText(bindings.begin()->print(KeySequence::Portable), guilang); setText(bindings.begin()->print(KeySequence::ForGui), guilang);
else else
setText(theTopLevelKeymap().printBindings(func, KeySequence::Portable), guilang); setText(theTopLevelKeymap().printBindings(func, KeySequence::ForGui), guilang);
force_ltr_ = !guilang->rightToLeft() && !lang->rightToLeft(); force_ltr_ = !guilang->rightToLeft() && !lang->rightToLeft();
break; break;
} }