Mitigate https://github.com/tonikelope/megabasterd/issues/623
This commit is contained in:
tonikelope 2023-12-07 19:44:10 +01:00
parent 62de862ac8
commit 7a8f1d5ea3
5 changed files with 2 additions and 16 deletions

View File

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

View File

@ -1534,7 +1534,6 @@ public class Download implements Transference, Runnable, SecureSingleThreadNotif
_retrying_request = true;
MiscTools.GUIRun(() -> {
getMain_panel().getView().getNew_download_menu().setEnabled(true);
getView().getStop_button().setVisible(true);

View File

@ -69,7 +69,7 @@ import javax.swing.UIManager;
*/
public final class MainPanel {
public static final String VERSION = "8.17";
public static final String VERSION = "8.18";
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 DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024;

View File

@ -1026,8 +1026,6 @@ public final class MainPanelView extends javax.swing.JFrame {
private void new_download_menuActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_new_download_menuActionPerformed
new_download_menu.setEnabled(false);
final LinkGrabberDialog dialog = new LinkGrabberDialog(this, true, _main_panel.getDefault_download_path(), _main_panel.getClipboardspy());
_main_panel.getClipboardspy().attachObserver(dialog);
@ -1134,10 +1132,6 @@ public final class MainPanelView extends javax.swing.JFrame {
getMain_panel().getDownload_manager().secureNotify();
MiscTools.GUIRun(() -> {
new_download_menu.setEnabled(true);
});
boolean link_warning;
for (String url : urls) {
@ -1254,10 +1248,6 @@ public final class MainPanelView extends javax.swing.JFrame {
}
} else {
MiscTools.GUIRun(() -> {
new_download_menu.setEnabled(true);
});
}
};
@ -1265,9 +1255,6 @@ public final class MainPanelView extends javax.swing.JFrame {
getMain_panel().getDownload_manager().secureNotify();
} else {
new_download_menu.setEnabled(true);
}
dialog.dispose();

Binary file not shown.

Before

Width:  |  Height:  |  Size: 207 KiB

After

Width:  |  Height:  |  Size: 206 KiB