mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
plasma: correct condition in Plasma::Label::setElideText()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
7715020fd0
commit
38ebb6f97e
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ bool Label::wordWrap() const
|
|||
void Label::setElideText(bool elide)
|
||||
{
|
||||
d->elideText = elide;
|
||||
if (!elide) {
|
||||
if (elide) {
|
||||
d->originaltext = nativeWidget()->text();
|
||||
d->elideLabelText();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue