From fd1610bf023c99e3b902126b2ec9d659cc26a4a4 Mon Sep 17 00:00:00 2001 From: MrIkso Date: Thu, 19 Dec 2024 20:02:13 +0200 Subject: [PATCH] fix: resolve spotless check --- jadx-gui/src/main/java/jadx/gui/ui/MainWindow.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jadx-gui/src/main/java/jadx/gui/ui/MainWindow.java b/jadx-gui/src/main/java/jadx/gui/ui/MainWindow.java index 895e250ff51..ce59ad66550 100644 --- a/jadx-gui/src/main/java/jadx/gui/ui/MainWindow.java +++ b/jadx-gui/src/main/java/jadx/gui/ui/MainWindow.java @@ -462,6 +462,7 @@ public void renameInput(Path file) { List inputs = project.getFilePaths(); inputs.remove(file); inputs.add(targetPath); + refreshTree(inputs); } else { JOptionPane.showMessageDialog(this, @@ -471,7 +472,7 @@ public void renameInput(Path file) { } } - private void refreshTree(List inputs){ + private void refreshTree(List inputs) { project.setFilePaths(inputs); project.save(); reopen();