fix: handle null returnState in archive loading process
This commit is contained in:
parent
5f6b44fb4a
commit
2735055a58
@ -3318,9 +3318,15 @@ public class FilePanelTab extends JPanel {
|
||||
deleteTempDirRecursively(currentArchiveTempDir);
|
||||
clearOpenedArchiveSession();
|
||||
loadDirectory(parent, false, true, () -> {
|
||||
if (returnState != null) {
|
||||
restoreReturnState(returnState, true);
|
||||
} else {
|
||||
selectItemByName(archiveName);
|
||||
}
|
||||
SwingUtilities.invokeLater(() -> {
|
||||
if (returnState != null) {
|
||||
restoreReturnState(returnState, true);
|
||||
}
|
||||
clearArchiveReturnState();
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user