Commit 9a762724 authored by Kåre Särs's avatar Kåre Särs
Browse files

Fix jump-forward action not enabled.

(cherry picked from commit 7bb6b9e0)
parent 4541114f
......@@ -727,7 +727,7 @@ void KateViewSpace::goBack()
m_viewManager->activeView()->setCursorPosition(location.cursor);
// enable forward
m_historyForward->setEnabled(true);
Q_EMIT m_viewManager->historyForwardEnabled(false);
Q_EMIT m_viewManager->historyForwardEnabled(true);
return;
}
}
......@@ -737,7 +737,7 @@ void KateViewSpace::goBack()
v->setCursorPosition(location.cursor);
// enable forward in viewspace + mainwindow
m_historyForward->setEnabled(true);
Q_EMIT m_viewManager->historyForwardEnabled(false);
Q_EMIT m_viewManager->historyForwardEnabled(true);
}
bool KateViewSpace::isHistoryBackEnabled() const
......
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