mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Revert "Fix display of bindings for View-other-formats dynamic toolbar menu"
This reverts commit e2e7794c7e
.
This commit is contained in:
parent
e2e7794c7e
commit
23a27e90ba
@ -149,10 +149,10 @@ Action * GuiToolbar::addItem(ToolbarItem const & item)
|
||||
// first one later
|
||||
KeyMap::Bindings bindings = theTopLevelKeymap().findBindings(*item.func);
|
||||
if (!bindings.empty())
|
||||
text += '\t' + toqstr(bindings.begin()->print(KeySequence::ForGui));
|
||||
text += " [" + toqstr(bindings.begin()->print(KeySequence::ForGui)) + "]";
|
||||
|
||||
Action * act = new Action(item.func, getIcon(*item.func, false), text,
|
||||
QString(), this);
|
||||
text, this);
|
||||
if (item.type == ToolbarItem::BIDICOMMAND)
|
||||
act->setRtlIcon(getIcon(*item.func, false, true));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user