fix: update problems after selecting contest

This commit is contained in:
Johannes Frohnmeyer 2024-05-12 14:52:50 +02:00
parent 28c56dd9c9
commit 1d5af1e2ae
Signed by: Johannes
GPG Key ID: E76429612C2929F4

View File

@ -71,6 +71,16 @@ class SDContestSelectionComboBoxAction : ComboBoxAction(), DumbAware {
override fun actionPerformed(e: AnActionEvent) {
SDom.currentContest = contest
SDGetProblemsAction().actionPerformed(
AnActionEvent(
null,
DataContext.EMPTY_CONTEXT,
ActionPlaces.UNKNOWN,
Presentation(),
ActionManager.getInstance(),
0
)
)
}
}
}