Commit ec25d9f6 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

katesessionmanager: Make Actions of desktop file start new instance of Kate

Otherwise, we attach to an existing instance.
The runner and Applet also start a new instance.

BUG: 461184
parent a2ec1a02
......@@ -644,7 +644,7 @@ void KateSessionManager::updateJumpListActions(const QStringList &sessionList)
KConfigGroup grp = df->actionGroup(action);
grp.writeEntry(QStringLiteral("Name"), session);
grp.writeEntry(QStringLiteral("Exec"), QStringLiteral("kate -s %1").arg(KShell::quoteArg(session))); // TODO proper executable name?
grp.writeEntry(QStringLiteral("Exec"), QStringLiteral("kate -n -s %1").arg(KShell::quoteArg(session)));
}
df->desktopGroup().writeXdgListEntry("Actions", newActions);
......
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