Commit 7bb6b9e0 authored by Kåre Särs's avatar Kåre Särs
Browse files

Fix jump-forward action not enabled.

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