diff --git a/src/main/kotlin/com/github/grishberg/android/layoutinspector/ui/info/PropertiesPanel.kt b/src/main/kotlin/com/github/grishberg/android/layoutinspector/ui/info/PropertiesPanel.kt index 89f0425..9f47cb3 100644 --- a/src/main/kotlin/com/github/grishberg/android/layoutinspector/ui/info/PropertiesPanel.kt +++ b/src/main/kotlin/com/github/grishberg/android/layoutinspector/ui/info/PropertiesPanel.kt @@ -79,6 +79,7 @@ class PropertiesPanel( table.tree.expandRow(rowIndexByName) } } + table.tree.repaint() } private fun rowIndexByName(createPropertiesData: List, expanded: String): Int { diff --git a/src/main/kotlin/com/github/grishberg/android/layoutinspector/ui/tree/TreePanel.kt b/src/main/kotlin/com/github/grishberg/android/layoutinspector/ui/tree/TreePanel.kt index 24213d8..d2209ad 100644 --- a/src/main/kotlin/com/github/grishberg/android/layoutinspector/ui/tree/TreePanel.kt +++ b/src/main/kotlin/com/github/grishberg/android/layoutinspector/ui/tree/TreePanel.kt @@ -78,6 +78,7 @@ class TreePanel( val selectedNode = path.lastPathComponent if (selectedNode is ViewNode) { nodeSelectedAction?.onViewNodeSelected(selectedNode) + repaint() } } addMouseMotionListener(object : MouseAdapter() {