Skip to content

Commit

Permalink
#12 invalidate properties after change
Browse files Browse the repository at this point in the history
  • Loading branch information
Grigory-Rylov committed Dec 9, 2021
1 parent 016c4e4 commit eb242a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ class PropertiesPanel(
table.tree.expandRow(rowIndexByName)
}
}
table.tree.repaint()
}

private fun rowIndexByName(createPropertiesData: List<TableRowInfo>, expanded: String): Int {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ class TreePanel(
val selectedNode = path.lastPathComponent
if (selectedNode is ViewNode) {
nodeSelectedAction?.onViewNodeSelected(selectedNode)
repaint()
}
}
addMouseMotionListener(object : MouseAdapter() {
Expand Down

0 comments on commit eb242a5

Please sign in to comment.