openlcb / OpenLCB_Java

A git-managed copy of the SVN-based Java prototype implementation of OpenLCB. This implementation operates inside JMRI.
6 stars 9 forks source link

Allow TreePane-using code to retry an ordering #242

Closed bobjacobsen closed 5 months ago

bobjacobsen commented 8 months ago

Requesting a re-sorting in TreePane would only act if the ordering had changed. When restoring JMRI preferences, we want to do that sort even if the default hadn't changed. This removes the check for the current sort order, so any re-sort request will actually re-sort.

bobjacobsen commented 5 months ago

@balazsracz Could I get a review and merge on this please?