mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-28 06:49:43 +00:00
style
This commit is contained in:
parent
d50e02d07c
commit
4d010d97fa
@ -383,9 +383,11 @@ void DynamicMenuButton::updateTriggered()
|
||||
++i;
|
||||
}
|
||||
// Add item to reset to defaults
|
||||
Action * dact = new Action(FuncRequest(LFUN_FONT_DEFAULT, FuncRequest::TOOLBAR), getIcon(FuncRequest(LFUN_UNDO), false),
|
||||
qt_("&Reset to default"), qt_("Reset all font settings to their defaults"), this);
|
||||
m->addAction(dact);
|
||||
Action * reset_act = new Action(FuncRequest(LFUN_FONT_DEFAULT, FuncRequest::TOOLBAR),
|
||||
getIcon(FuncRequest(LFUN_UNDO), false),
|
||||
qt_("&Reset to default"),
|
||||
qt_("Reset all font settings to their defaults"), this);
|
||||
m->addAction(reset_act);
|
||||
if (default_act)
|
||||
QToolButton::setDefaultAction(default_act);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user