be sure to relayout if a different position is asked
svn path=/trunk/KDE/kdelibs/; revision=1129158
This commit is contained in:
parent
d19118b818
commit
f08bf871f6
@ -422,6 +422,8 @@ void Extender::itemAddedEvent(ExtenderItem *item, const QPointF &pos)
|
||||
{
|
||||
if (!item->group()) {
|
||||
if (pos == QPointF(-1, -1)) {
|
||||
//if it was already there, reposition
|
||||
d->layout->removeItem(item);
|
||||
//if just plain adding an item, add it at a sane position:
|
||||
if (appearance() == BottomUpStacked) {
|
||||
//at the top
|
||||
|
Loading…
Reference in New Issue
Block a user