Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
e05869c3
Commit
e05869c3
authored
Mar 04, 2021
by
Christoph Cullmann
🐮
Browse files
fix crash on addJump
parent
eb46ac67
Changes
1
Hide whitespace changes
Inline
Side-by-side
kate/katemainwindow.cpp
View file @
e05869c3
...
...
@@ -1190,7 +1190,7 @@ void KateMainWindow::addJump(const QUrl &url, KTextEditor::Cursor c)
}
// if same line, remove last entry
if
(
m_locations
.
back
().
url
==
url
&&
m_locations
.
back
().
cursor
.
line
()
==
c
.
line
())
{
if
(
!
m_locations
.
isEmpty
()
&&
m_locations
.
back
().
url
==
url
&&
m_locations
.
back
().
cursor
.
line
()
==
c
.
line
())
{
m_locations
.
pop_back
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment