Commit 1d4cb485 authored by Alexander Lohnau's avatar Alexander Lohnau 💬 Committed by David Edmundson
Browse files

Do not close Kicker when pinning entry

BUG: 390585
FIXED-IN: 5.20

When we add an app to the panel/desktop/taskmanager we don't want
to close Kicker.
parent 57a0f933
......@@ -234,7 +234,7 @@ bool AppEntry::run(const QString& actionId, const QVariant &argument)
QObject *appletInterface = m_owner->rootModel()->property("appletInterface").value<QObject *>();
if (Kicker::handleAddLauncherAction(actionId, appletInterface, m_service)) {
return true;
return false; // We don't want to close Kicker, BUG: 390585
} else if (Kicker::handleEditApplicationAction(actionId, m_service)) {
return true;
} else if (Kicker::handleAppstreamActions(actionId, argument)) {
......
......@@ -188,7 +188,7 @@ bool RunnerMatchesModel::trigger(int row, const QString &actionId, const QVarian
const KService::Ptr service = KService::serviceByStorageId(match.data().toUrl().toString(QUrl::RemoveScheme));
if (Kicker::handleAddLauncherAction(actionId, appletInterface, service)) {
return true;
return false; // We don't want to close Kicker, BUG: 390585
} else if (Kicker::handleEditApplicationAction(actionId, service)) {
return true;
} else if (Kicker::handleAppstreamActions(actionId, argument)) {
......
Markdown is supported
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