Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Indexes not always displaying while switching table #578
Steps to reproduce this issue
You need to switch from 'Indexes' tab to another tab and back to be able to see table's indexes again.
Indexes not displaying when switching from table that does not have any indexes to table that does have them.
I believe you should be able to see indexes.
As a workaround you can to switch from 'Indexes' tab to another tab ('Basic' for example) and back.
I noticed the same issue on 'Foreign keys' tabs.
It looks like just Repaint is missed somewhere as when switching table while on the Indexes tab, the Clear button on the left becoming active and if Add button on the left is clicked, the new index added AND already existing indexes appeared.
Problem was indeed a missing repaint/invalidation in the initialization method. That repaint then indirectly sets the number of root nodes in both index and foreign key editors.