be a little more paranoid about setting the info.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771449
This commit is contained in:
parent
476eb885cb
commit
462c52af51
@ -141,8 +141,13 @@ void ToolTip::showToolTip()
|
||||
}
|
||||
layout()->activate();
|
||||
|
||||
if (isVisible()) {
|
||||
d->preview->setInfo();
|
||||
} else {
|
||||
setVisible(true);
|
||||
}
|
||||
|
||||
d->isShown = true; //ToolTip is visible
|
||||
setVisible(true);
|
||||
resize(sizeHint());
|
||||
move(d->currentWidget->popupPosition(size()));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user