Commit 2c2ec073 authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

Revert "fix crash on file browser activation"

This reverts commit a2d0f284.
parent 6bb1f691
......@@ -100,12 +100,9 @@ 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());
// read config only if there yet, see bug 453234
if (cg) {
m_fileBrowser->readSessionConfig(*cg);
cg.reset();
}
m_fileBrowser->readSessionConfig(*cg);
// delete the config now
cg.reset();
}
bool KateFileBrowserPluginView::eventFilter(QObject *obj, QEvent *event)
......
Supports Markdown
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