mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-19 16:28:46 +00:00
fix: read access exception on GoLand (fixes #1139)
This commit is contained in:
parent
d55533e9c3
commit
ee9962a1ae
2 changed files with 3 additions and 1 deletions
|
|
@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
### Fixed
|
||||
|
||||
- Commit Message action from disappearing [#1134](https://github.com/carlrobertoh/ProxyAI/issues/1134)
|
||||
- Read access exception on GoLand [#1139](https://github.com/carlrobertoh/ProxyAI/issues/1139)
|
||||
|
||||
## [3.6.2-241.1] - 2025-10-03
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ import com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerImpl
|
|||
import com.intellij.codeInsight.daemon.impl.HighlightInfo
|
||||
import com.intellij.lang.annotation.HighlightSeverity
|
||||
import com.intellij.openapi.application.ApplicationManager
|
||||
import com.intellij.openapi.application.runReadAction
|
||||
import com.intellij.openapi.components.service
|
||||
import com.intellij.openapi.fileEditor.FileDocumentManager
|
||||
import com.intellij.openapi.progress.ProgressManager
|
||||
|
|
@ -87,7 +88,7 @@ class SelectionTagProcessor(
|
|||
)
|
||||
|
||||
tagDetails.selectionModel.let {
|
||||
if (it.hasSelection()) {
|
||||
if (runReadAction { it.hasSelection() }) {
|
||||
it.removeSelection()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue