Commit 3757f2b4 authored by Marco Martin's avatar Marco Martin
Browse files

disable editMode only if we're not dragging

as disabling editmode will stop dragging, sometimes a drag gets interruped
mid way due to lost of focus.
On Plasma Mobile applets are reparented when dragged, which resets
focus, breaking dragging immediately
parent ad0d1005
...@@ -46,7 +46,7 @@ ContainmentLayoutManager.AppletContainer { ...@@ -46,7 +46,7 @@ ContainmentLayoutManager.AppletContainer {
: PlasmaCore.Theme.NormalColorGroup : PlasmaCore.Theme.NormalColorGroup
onFocusChanged: { onFocusChanged: {
if (!focus) { if (!focus && !dragActive) {
editMode = false; editMode = false;
} }
} }
......
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