mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 02:49:46 +00:00
InsetInfo: use localized shortcuts
This commit is contained in:
parent
6597b8f53a
commit
abaccece15
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user