projects
/
idea
/
community.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix refresh placeholder action
[idea/community.git]
/
python
/
educational-core
/
student
/
src
/
com
/
jetbrains
/
edu
/
learning
/
actions
/
StudyRefreshAnswerPlaceholder.java
diff --git
a/python/educational-core/student/src/com/jetbrains/edu/learning/actions/StudyRefreshAnswerPlaceholder.java
b/python/educational-core/student/src/com/jetbrains/edu/learning/actions/StudyRefreshAnswerPlaceholder.java
index de68d1cfc95170be39cfea48846570a8761dafb1..b2b7c86aadf05253f47c61a1bd643d93ce43d68e 100644
(file)
--- a/
python/educational-core/student/src/com/jetbrains/edu/learning/actions/StudyRefreshAnswerPlaceholder.java
+++ b/
python/educational-core/student/src/com/jetbrains/edu/learning/actions/StudyRefreshAnswerPlaceholder.java
@@
-80,7
+80,9
@@
public class StudyRefreshAnswerPlaceholder extends DumbAwareAction {
if (getAnswerPlaceholder(e) == null) {
presentation.setEnabledAndVisible(false);
+ return;
}
+ presentation.setEnabledAndVisible(true);
}
@Nullable