diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/gui/MainViewerGUI.java b/src/main/java/the/bytecode/club/bytecodeviewer/gui/MainViewerGUI.java index 5f2f29a9..4ccb8bae 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/gui/MainViewerGUI.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/gui/MainViewerGUI.java @@ -733,6 +733,15 @@ public class MainViewerGUI extends JFrame deleteForeignOutdatedLibs.setSelected(Configuration.deleteForeignLibraries); } + public synchronized void clearBusyStatus() + { + for (int i = 0; i < waitIcons.length; i++) + { + waitIcons[i].setIcon(null); + waitIcons[i].updateUI(); + } + } + public synchronized void updateBusyStatus(final boolean busy) { SwingUtilities.invokeLater(() -> { if (busy) { diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/resources/importing/impl/XAPKResourceImporter.java b/src/main/java/the/bytecode/club/bytecodeviewer/resources/importing/impl/XAPKResourceImporter.java index 715d923f..819ccae2 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/resources/importing/impl/XAPKResourceImporter.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/resources/importing/impl/XAPKResourceImporter.java @@ -70,6 +70,7 @@ public class XAPKResourceImporter implements Importer } } Configuration.silenceExceptionGUI--; //turn exceptions back on + BytecodeViewer.viewer.clearBusyStatus(); //clear errant busy signals from failed APK imports container.classes.addAll(allDirectoryClasses.values()); container.files = allDirectoryFiles;