neilcsmith-net commented on code in PR #9670:
URL: https://github.com/apache/netbeans/pull/9670#discussion_r4204786339
##########
ide/projectui/src/org/netbeans/modules/project/ui/groups/Group.java:
##########
@@ -184,7 +184,7 @@ public static void setActiveGroup(Group nue, boolean
isNewGroup) {
}
} else {
OpenProjectListSettings settings =
OpenProjectListSettings.getInstance();
- settings.setOpenProjectsURLsAsStrings(nue != null ?
nue.projectPaths() : getProjectPathsByPreferences(noneGroupPref));
+ settings.setOpenProjectsURLsAsStrings(nue != null ?
nue.projectPaths() : Collections.emptyList());
Review Comment:
Yes, this is what I meant. I should make my "hints" more explicit! 😆
Ideally this should be handled in `open` too when `projectsLoaded == true`.
Interestingly, there's a TODO matching this behaviour in there already.
https://github.com/apache/netbeans/blob/c25d20f6327ba05c2451c2a5fa209a5bdaa3d303/ide/projectui/src/org/netbeans/modules/project/ui/groups/Group.java#L579-L582
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists