mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-27 11:40:07 +00:00
set the help tooltip also when creating a toolbar button for the action
(no new string, the same string is already there) svn path=/trunk/KDE/kdegraphics/okular/; revision=742801
This commit is contained in:
parent
3ce7e38f06
commit
2f39925acb
|
@ -68,6 +68,7 @@ QWidget* ToolAction::createWidget( QWidget *parent )
|
|||
button->menu()->addAction( action );
|
||||
}
|
||||
button->setDefaultAction( button->menu()->actions().first() );
|
||||
button->setToolTip( i18n("Click to use the current selection tool\nClick and hold to choose another selection tool") );
|
||||
}
|
||||
|
||||
return button;
|
||||
|
|
Loading…
Reference in a new issue