Commit e485b0a0 authored by Méven Car's avatar Méven Car Committed by Christoph Cullmann
Browse files

Avoid trying to create stash dir for anonymous sessions

parent 17789a72
......@@ -49,7 +49,7 @@ void KateStashManager::stashDocuments(KConfig *config, const QList<KTextEditor::"stash"));
const auto session = KateApp::self()->sessionManager()->activeSession();
if (!session) {
if (!session || session->name().isEmpty()) {
qDebug(LOG_KATE) << "Could not stash files without a session";
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