fix: prevent closing submit panel
This commit is contained in:
parent
2619a42f9e
commit
cd86b91b10
@ -13,7 +13,6 @@ You can download the plugin from the [JetBrains Marketplace](https://plugins.jet
|
||||
<!-- Note to writers: A copy of the feature list exists in plugin.xml, please also add your changes there -->
|
||||
|
||||
## Potential future features
|
||||
- Prevent closing submit panel
|
||||
- Settings UI (login, PDF mode, ...)
|
||||
- Display how much time is left in a contest or whether it's already over
|
||||
- Implement reading detailed results
|
||||
|
@ -24,7 +24,9 @@ class SDToolWindowFactory : ToolWindowFactory, DumbAware {
|
||||
}
|
||||
|
||||
val submitPanel = SDSubmitPanel(project)
|
||||
val submitContent = contentManager.factory.createContent(submitPanel.component, "Submit", false)
|
||||
val submitContent = contentManager.factory.createContent(submitPanel.component, "Submit", false).apply {
|
||||
isCloseable = false
|
||||
}
|
||||
Disposer.register(toolWindow.disposable, submitPanel)
|
||||
|
||||
fun showSubmitContent() {
|
||||
|
Loading…
Reference in New Issue
Block a user