diff --git a/python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/ui/CCCreateAnswerPlaceholderPanel.java b/python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/ui/CCCreateAnswerPlaceholderPanel.java index c130ac3e9dcd..cfe046329c1a 100644 --- a/python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/ui/CCCreateAnswerPlaceholderPanel.java +++ b/python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/ui/CCCreateAnswerPlaceholderPanel.java @@ -49,7 +49,12 @@ public class CCCreateAnswerPlaceholderPanel extends JPanel { } private void updateHintNumberLabel() { - myHintLabel.setText("Hints" + "(" + (myShownHintNumber + 1) + "/" + myHints.size() + "):"); + if (myHints.size() > 1) { + myHintLabel.setText("Hint" + "(" + (myShownHintNumber + 1) + "/" + myHints.size() + "):"); + } + else { + myHintLabel.setText("Hint: "); + } } public void setAnswerPlaceholderText(String answerPlaceholderText) {