Skip to content

Commit

Permalink
fix: resolve spotless check
Browse files Browse the repository at this point in the history
  • Loading branch information
MrIkso committed Dec 19, 2024
1 parent a8e5e42 commit fd1610b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jadx-gui/src/main/java/jadx/gui/ui/MainWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ public void renameInput(Path file) {
List<Path> inputs = project.getFilePaths();
inputs.remove(file);
inputs.add(targetPath);

refreshTree(inputs);
} else {
JOptionPane.showMessageDialog(this,
Expand All @@ -471,7 +472,7 @@ public void renameInput(Path file) {
}
}

private void refreshTree(List<Path> inputs){
private void refreshTree(List<Path> inputs) {
project.setFilePaths(inputs);
project.save();
reopen();
Expand Down

0 comments on commit fd1610b

Please sign in to comment.