Commit 68bf5394 authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

ensure new sessions at have the default plugins

ATM if you start kate via

kate -n -s sjdfjskljfklsjdlf

and the session doesn't exist, even the default plugin
loading state is lost

CCBUG: 436085
parent 76b6067f
Pipeline #192030 passed with stage
in 5 minutes and 14 seconds
......@@ -90,7 +90,7 @@ void KatePluginManager::setupPluginList()
info.defaultLoad = defaultPlugins.contains(info.saveName());
info.sortOrder = defaultPlugins.value(info.saveName());
info.load = false;
info.load = info.defaultLoad; // keep this in load, too, to avoid new sessions kill that info on writeConfig
info.plugin = nullptr;
m_pluginList.push_back(info);
unique.insert(info.saveName());
......
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