GT-3436 - Fixed symbol tree navigation to work on already selected node

This commit is contained in:
dragonmacher 2020-01-03 17:19:27 -05:00
parent 02df944b0e
commit 14ee95c395
2 changed files with 46 additions and 27 deletions

View file

@ -103,7 +103,7 @@ public class GTreeSelectionModel extends DefaultTreeSelectionModel {
*/
final public void userRemovedSelectionPath(TreePath path) {
currentEventOrigin = EventOrigin.USER_GENERATED;
super.removeSelectionPath(path);
super.removeSelectionPaths(new TreePath[] { path });
currentEventOrigin = EventOrigin.USER_GENERATED;
}