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
KGpg
Commits
3bc2bbb7
Verified
Commit
3bc2bbb7
authored
Jan 07, 2021
by
Vladislav Glinsky
Browse files
Fix possible nullptr dereference
parent
3e3034f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
editor/kgpgeditor.cpp
View file @
3bc2bbb7
...
...
@@ -433,7 +433,9 @@ void KgpgEditor::slotFindPrev()
long
newopt
=
oldopt
^
KFind
::
FindBackwards
;
m_find
->
setOptions
(
newopt
);
slotFindText
();
m_find
->
setOptions
(
oldopt
);
if
(
m_find
)
{
m_find
->
setOptions
(
oldopt
);
}
}
void
KgpgEditor
::
slotFindText
()
...
...
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