Skip to content

Commit

Permalink
fix refresh tree
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienpessu committed Nov 19, 2023
1 parent 264d7fc commit 970394a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ import javax.swing.event.TreeSelectionEvent
import javax.swing.event.TreeSelectionListener
import javax.swing.text.html.HTMLEditorKit
import javax.swing.tree.DefaultMutableTreeNode
import javax.swing.tree.DefaultTreeModel
import javax.swing.tree.TreeNode

Check warning on line 46 in src/main/kotlin/com/github/adrienpessu/sarifviewer/toolWindow/SarifViewerWindowFactory.kt

View workflow job for this annotation

GitHub Actions / Qodana Community for JVM

Unused import directive

Unused import directive


Expand Down Expand Up @@ -344,7 +345,7 @@ class SarifViewerWindowFactory : ToolWindowFactory {
}

private fun clearJSplitPane() {
myList = JTree()
myList.model = DefaultTreeModel(DefaultMutableTreeNode())
myList.updateUI()
infos.text = ""
steps.text = ""
Expand Down

0 comments on commit 970394a

Please sign in to comment.