Commit 5a77568e authored by Marco Martin's avatar Marco Martin
Browse files

close handle after trigger only when not in edit mode

parent 862da647
......@@ -42,7 +42,9 @@ PlasmaComponents.ToolButton {
if (qAction) {
qAction.trigger()
}
appletContainer.editMode = false;
if (!plasmoid.editMode) {
appletContainer.editMode = false;
}
}
......
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