From da70ec4eda04a7268a71846b071b6d990d468be2 Mon Sep 17 00:00:00 2001 From: thrust26 Date: Sat, 29 Feb 2020 23:18:41 +0100 Subject: [PATCH] a cosmetic change in HighScoresDialog --- src/gui/HighScoresDialog.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gui/HighScoresDialog.cxx b/src/gui/HighScoresDialog.cxx index 246f3fdcb..8afa0719a 100644 --- a/src/gui/HighScoresDialog.cxx +++ b/src/gui/HighScoresDialog.cxx @@ -212,7 +212,10 @@ void HighScoresDialog::loadConfig() label = label.substr(label.length() - 5); mySpecialLabelWidget->setLabel(label); - myNotesWidget->setLabel("Note: " + instance().highScores().notes()); + if(!instance().highScores().notes().empty()) + myNotesWidget->setLabel("Note: " + instance().highScores().notes()); + else + myNotesWidget->setLabel(""); if (instance().hasConsole()) myMD5 = instance().console().properties().get(PropType::Cart_MD5);