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 <[email protected]> --- I do not claim to understand this part of the code (at all), but this change works for me. --- qt-ui/profile/divetextitem.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/qt-ui/profile/divetextitem.cpp b/qt-ui/profile/divetextitem.cpp index 0831a02..9c7848c 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(); } } -- 2.1.4 _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
