Skip to content
GitLab
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
758d1045
Commit
758d1045
authored
Sep 24, 2022
by
Ognian Milanov
Committed by
Christoph Cullmann
Sep 24, 2022
Browse files
Fixed a null pointer dereference in gdb plugin
A simple fix for dereferencing null pointer in gdb plugin.
parent
c277ed7d
Pipeline
#236597
canceled with stage
in 43 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
addons/gdbplugin/plugin_kategdb.cpp
View file @
758d1045
...
...
@@ -471,7 +471,9 @@ void KatePluginGDBView::enableDebugActions(bool enable)
m_inputArea
->
setFocus
();
m_focusOnInput
=
false
;
}
else
{
m_mainWin
->
activeView
()
->
setFocus
();
if
(
m_mainWin
->
activeView
())
{
m_mainWin
->
activeView
()
->
setFocus
();
}
}
}
else
{
m_inputArea
->
setFocusPolicy
(
Qt
::
NoFocus
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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