Commit bd5006cc authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

disable projects restore in session per default

alter config key, too, to swap value for existing configs
parent a8622391
Pipeline #192603 passed with stage
in 4 minutes and 29 seconds
......@@ -556,7 +556,7 @@ void KateProjectPlugin::readConfig()
m_singleClickAction = (ClickAction)config.readEntry("gitStatusSingleClick", (int)ClickAction::ShowDiff);
m_doubleClickAction = (ClickAction)config.readEntry("gitStatusDoubleClick", (int)ClickAction::StageUnstage);
m_restoreProjectsForSession = config.readEntry("restoreProjectsForSession", true);
m_restoreProjectsForSession = config.readEntry("restoreProjectsForSessions", false);
Q_EMIT configUpdated();
}
......@@ -594,7 +594,7 @@ void KateProjectPlugin::writeConfig()
config.writeEntry("gitStatusSingleClick", (int)m_singleClickAction);
config.writeEntry("gitStatusDoubleClick", (int)m_doubleClickAction);
config.writeEntry("restoreProjectsForSession", m_restoreProjectsForSession);
config.writeEntry("restoreProjectsForSessions", m_restoreProjectsForSession);
Q_EMIT configUpdated();
}
......
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