Skip to content

Commit

Permalink
Change the icon for rename to unnamed variable (#1838)
Browse files Browse the repository at this point in the history
- change icon for rename to unnamed variable to match rename in file
  icon
- fixes #1836
  • Loading branch information
jjohnstn authored Dec 5, 2024
1 parent 0de1bc1 commit a5d69f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,7 @@ private static void addProposal(IInvocationContext context, Collection<ICommandA

private static void addRenameProposal(IInvocationContext context, Collection<ICommandAccess> proposals, final RenameUnusedVariableFixCore fix) {
if (fix != null) {
Image image= PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_TOOL_REDO);
Image image= JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_LINKED_RENAME);
FixCorrectionProposal proposal= new FixCorrectionProposal(fix, fix.getCleanUp(), IProposalRelevance.UNUSED_MEMBER, image, context);
proposals.add(proposal);
}
Expand Down

0 comments on commit a5d69f1

Please sign in to comment.