Commit fe2115bd authored by Waqar Ahmed's avatar Waqar Ahmed Committed by Christoph Cullmann
Browse files

Improve history actions tooltips

We can improve it further by providing an action so that history jumping
can be done using shortcuts.
parent 7335fa27
Pipeline #136779 passed with stage
in 2 minutes and 24 seconds
......@@ -54,7 +54,7 @@ KateViewSpace::KateViewSpace(KateViewManager *viewManager, QWidget *parent, cons
// add left <-> right history buttons
m_historyBack = new QToolButton(this);
m_historyBack->setToolTip(i18n("Go Back"));
m_historyBack->setToolTip(i18n("Go to previous edit location"));
m_historyBack->setIcon(QIcon::fromTheme(QStringLiteral("arrow-left")));
m_historyBack->setAutoRaise(true);
KAcceleratorManager::setNoAccel(m_historyBack);
......@@ -67,7 +67,7 @@ KateViewSpace::KateViewSpace(KateViewManager *viewManager, QWidget *parent, cons
m_historyForward = new QToolButton(this);
m_historyForward->setIcon(QIcon::fromTheme(QStringLiteral("arrow-right")));
m_historyForward->setToolTip(i18n("Go Forward"));
m_historyForward->setToolTip(i18n("Go to next edit location"));
m_historyForward->setAutoRaise(true);
KAcceleratorManager::setNoAccel(m_historyForward);
m_historyForward->installEventFilter(this); // on click, active this view space
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment