dbalek commented on code in PR #4159:
URL: https://github.com/apache/netbeans/pull/4159#discussion_r887997217
##########
java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/ui/NotifyDescriptorAdapter.java:
##########
@@ -346,7 +346,7 @@ public <T extends NotifyDescriptor> CompletableFuture<T>
clientNotifyCompletion(
for (NotifyDescriptor.QuickPick.Item item : qp.getItems()) {
items.put(new QuickPickItem(item.getLabel(),
item.getDescription(), null, item.isSelected(), null), item);
}
- ShowQuickPickParams params = new
ShowQuickPickParams(qp.getTitle(), qp.isMultipleSelection(), new
ArrayList<>(items.keySet()));
+ ShowQuickPickParams params = new ShowQuickPickParams(null,
qp.getTitle(), qp.isMultipleSelection(), new ArrayList<>(items.keySet()));
Review Comment:
Good point. Will be fixed in a subsequent PR proposing an extension to the
`NotifyDescriptor` API.
--
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