diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2015-08-05 19:01:50 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-08-09 23:55:27 -0700 |
commit | 1f4267d0938e8a7347300d7ad258cb439ceddcfc (patch) | |
tree | d689120aa1ed04824532c57512dfd4607f5a3c5f | |
parent | 1bea48f9bda5a719131573c42708d70862d6c0fb (diff) | |
download | subsurface-1f4267d0938e8a7347300d7ad258cb439ceddcfc.tar.gz |
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 <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | qt-ui/profile/divetextitem.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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(); } } |