Update the text if DC changes

When switching from one DC to the next, the text of DC name is not updated due
to commit 487ddce353. This patch re-inserts the
call to updateText() for the specific function to get the DC name updated
properly.

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Miika Turkia 2015-08-05 19:01:50 +03:00 committed by Dirk Hohndel
parent 1bea48f9bd
commit 1f4267d093

View file

@ -62,6 +62,7 @@ void DiveTextItem::setText(const QString &t)
}
}
internalText = t;
updateText();
}
}