From 08c549d94d1d75fc9e247428e4f5c199d8d98b8b Mon Sep 17 00:00:00 2001 From: Valentina Kiryushkina Date: Fri, 22 Jul 2016 21:39:05 +0300 Subject: [PATCH] Possibly fix EDU-682 Multihints are not saved --- .../edu/coursecreator/ui/CCCreateAnswerPlaceholderPanel.java | 3 +++ 1 file changed, 3 insertions(+) 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 3a242be98ff5..bbd48a859f34 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 @@ -92,6 +92,9 @@ public class CCCreateAnswerPlaceholderPanel extends JPanel { if (myShownHintNumber == 0 && hintText.equals(ourDefaultHintText)) { myHints.set(myShownHintNumber, ""); } + else { + myHints.set(myShownHintNumber, hintText); + } return myHints; }