temporary fix for the beta: don't make items unmovable when added to a layout as that is screwing with MouseReleaseEvents. this means panels items are, once again, freely draggable (which is wrong) but on the upside you can open the menu again
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729202
This commit is contained in:
parent
08d99afd90
commit
49874ae140
@ -441,10 +441,10 @@ void Widget::managingLayoutChanged()
|
|||||||
if (managingLayout()) {
|
if (managingLayout()) {
|
||||||
d->wasMovable = flags() & ItemIsMovable;
|
d->wasMovable = flags() & ItemIsMovable;
|
||||||
if (!dynamic_cast<FreeLayout*>(managingLayout())) {
|
if (!dynamic_cast<FreeLayout*>(managingLayout())) {
|
||||||
setFlag(ItemIsMovable, false);
|
// setFlag(ItemIsMovable, false);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
setFlag(ItemIsMovable, d->wasMovable);
|
// setFlag(ItemIsMovable, d->wasMovable);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user