From c71fa42dee1fe5140629a38bde37e2ed2cd2fffd Mon Sep 17 00:00:00 2001 From: "liana.bakradze" Date: Fri, 26 May 2017 11:50:18 +0300 Subject: [PATCH] EDU-964 Unable to edit activated placeholders (tasks with subtasks) --- .../edu/learning/ui/CCCreateAnswerPlaceholderPanel.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/educational-core/src/com/jetbrains/edu/learning/ui/CCCreateAnswerPlaceholderPanel.java b/python/educational-core/src/com/jetbrains/edu/learning/ui/CCCreateAnswerPlaceholderPanel.java index 95ffd42bbbb1..b93c6774ced0 100644 --- a/python/educational-core/src/com/jetbrains/edu/learning/ui/CCCreateAnswerPlaceholderPanel.java +++ b/python/educational-core/src/com/jetbrains/edu/learning/ui/CCCreateAnswerPlaceholderPanel.java @@ -11,6 +11,7 @@ import com.intellij.ui.components.JBLabel; import com.intellij.uiDesigner.core.GridLayoutManager; import com.intellij.util.ui.UIUtil; import org.jetbrains.annotations.NotNull; +import org.jetbrains.annotations.Nullable; import javax.swing.*; import java.awt.*; @@ -35,7 +36,7 @@ public class CCCreateAnswerPlaceholderPanel { private List myHints = new ArrayList<>(); private int myShownHintNumber = 0; - public CCCreateAnswerPlaceholderPanel(@NotNull String placeholderText, @NotNull List hints) { + public CCCreateAnswerPlaceholderPanel(@Nullable String placeholderText, @NotNull List hints) { if (hints.isEmpty()) { myHints.add(HINT_PLACEHOLDER); }