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
a28624c8
Commit
a28624c8
authored
Apr 30, 2022
by
Christoph Cullmann
🐮
Browse files
fix crash on file browser activation
BUG: 453234
(cherry picked from commit
a2d0f284
)
parent
886c88d3
Pipeline
#170127
passed with stage
in 3 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
addons/filebrowser/katefilebrowserplugin.cpp
View file @
a28624c8
...
...
@@ -100,9 +100,12 @@ void KateFileBrowserPluginView::createFileBrowser(bool visible)
disconnect
(
m_toolView
.
get
(),
SIGNAL
(
toolVisibleChanged
(
bool
)),
this
,
SLOT
(
createFileBrowser
(
bool
)));
m_fileBrowser
=
std
::
make_unique
<
KateFileBrowser
>
(
m_mainWindow
,
m_toolView
.
get
());
m_fileBrowser
->
readSessionConfig
(
*
cg
);
// delete the config now
cg
.
reset
();
// read config only if there yet, see bug 453234
if
(
cg
)
{
m_fileBrowser
->
readSessionConfig
(
*
cg
);
cg
.
reset
();
}
}
bool
KateFileBrowserPluginView
::
eventFilter
(
QObject
*
obj
,
QEvent
*
event
)
...
...
Christoph Cullmann
🐮
@cullmann
mentioned in commit
e002696b
·
May 16, 2022
mentioned in commit
e002696b
mentioned in commit e002696b0673dff7ec9584e00b1546d2f850121c
Toggle commit list
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