mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EDU-964 Unable to edit activated placeholders (tasks with subtasks)
This commit is contained in:
+2
-1
@@ -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<String> myHints = new ArrayList<>();
|
||||
private int myShownHintNumber = 0;
|
||||
|
||||
public CCCreateAnswerPlaceholderPanel(@NotNull String placeholderText, @NotNull List<String> hints) {
|
||||
public CCCreateAnswerPlaceholderPanel(@Nullable String placeholderText, @NotNull List<String> hints) {
|
||||
if (hints.isEmpty()) {
|
||||
myHints.add(HINT_PLACEHOLDER);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user