From 1f4267d0938e8a7347300d7ad258cb439ceddcfc Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Wed, 5 Aug 2015 19:01:50 +0300 Subject: 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 487ddce3531f6b738affc84edf066bd0ea4a16bb. This patch re-inserts the call to updateText() for the specific function to get the DC name updated properly. Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- qt-ui/profile/divetextitem.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/profile') diff --git a/qt-ui/profile/divetextitem.cpp b/qt-ui/profile/divetextitem.cpp index 0831a024e..9c7848cd4 100644 --- a/qt-ui/profile/divetextitem.cpp +++ b/qt-ui/profile/divetextitem.cpp @@ -62,6 +62,7 @@ void DiveTextItem::setText(const QString &t) } } internalText = t; + updateText(); } } -- cgit v1.2.3-70-g09d2