Fix wrong parent dir creation in subfolder link download
This commit is contained in:
tonikelope 2023-10-19 23:20:15 +02:00
parent c1b65e120d
commit 8ede7a252e
3 changed files with 6 additions and 3 deletions

View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.tonikelope</groupId> <groupId>com.tonikelope</groupId>
<artifactId>MegaBasterd</artifactId> <artifactId>MegaBasterd</artifactId>
<version>7.97</version> <version>7.98</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<repositories> <repositories>
<repository> <repository>

View File

@ -455,8 +455,8 @@ public class FolderLinkDialog extends javax.swing.JDialog {
conta_nodo++; conta_nodo++;
int c = conta_nodo; int c = conta_nodo;
MiscTools.GUIRun(() -> {
MiscTools.GUIRun(() -> {
node_bar.setValue(c); node_bar.setValue(c);
}); });
@ -539,6 +539,9 @@ public class FolderLinkDialog extends javax.swing.JDialog {
_mega_error = 2; _mega_error = 2;
} else { } else {
root.setParent(null);
final JTree ftree = file_tree; final JTree ftree = file_tree;
final MegaMutableTreeNode roott = root; final MegaMutableTreeNode roott = root;

View File

@ -70,7 +70,7 @@ import javax.swing.UIManager;
*/ */
public final class MainPanel { public final class MainPanel {
public static final String VERSION = "7.97"; public static final String VERSION = "7.98";
public static final boolean FORCE_SMART_PROXY = false; //TRUE FOR DEBUGING SMART PROXY public static final boolean FORCE_SMART_PROXY = false; //TRUE FOR DEBUGING SMART PROXY
public static final int THROTTLE_SLICE_SIZE = 16 * 1024; public static final int THROTTLE_SLICE_SIZE = 16 * 1024;
public static final int DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024; public static final int DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024;