mirror of
https://github.com/mirror/jdownloader.git
synced 2024-11-27 05:50:51 +00:00
fixes #4827
git-svn-id: svn://svn.jdownloader.org/jdownloader/trunk@16505 ebf7c1c2-ba36-0410-9fe8-c592906822b4
This commit is contained in:
parent
8706aa8f00
commit
5dd7f1bda9
@ -9,7 +9,6 @@
|
||||
<attribute name="org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY" value="jd/ressourcen/libs/dbus"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="lib" path="ressourcen/libs/BrowserLauncher2.jar"/>
|
||||
<classpathentry kind="lib" path="ressourcen/libs/hsqldb.jar" sourcepath="ressourcen/code-ressourcen/hsqsql_src.zip"/>
|
||||
<classpathentry kind="lib" path="ressourcen/libs/irclib.jar"/>
|
||||
<classpathentry kind="lib" path="ressourcen/libs/js.jar"/>
|
||||
|
Binary file not shown.
@ -31,11 +31,10 @@ import org.appwork.swing.components.ExtButton;
|
||||
import org.appwork.utils.event.predefined.changeevent.ChangeEvent;
|
||||
import org.appwork.utils.event.predefined.changeevent.ChangeListener;
|
||||
import org.appwork.utils.swing.EDTRunner;
|
||||
import org.jdownloader.controlling.filter.LinkFilterSettings;
|
||||
import org.jdownloader.gui.translate._GUI;
|
||||
import org.jdownloader.gui.views.linkgrabber.actions.ConfirmAction;
|
||||
import org.jdownloader.gui.views.linkgrabber.addlinksdialog.LinkgrabberSettings;
|
||||
import org.jdownloader.images.NewTheme;
|
||||
import org.jdownloader.settings.staticreferences.CFG_LINKFILTER;
|
||||
|
||||
public class AutoConfirmButton extends ExtButton implements ChangeListener, TableModelListener {
|
||||
/**
|
||||
@ -173,9 +172,10 @@ public class AutoConfirmButton extends ExtButton implements ChangeListener, Tabl
|
||||
public void run() {
|
||||
ArrayList<AbstractNode> list = new ArrayList<AbstractNode>();
|
||||
boolean autoStart = org.jdownloader.settings.staticreferences.CFG_LINKFILTER.LINKGRABBER_AUTO_START_ENABLED.getValue();
|
||||
|
||||
for (CrawledLink l : LinkGrabberTableModel.getInstance().getAllChildrenNodes()) {
|
||||
if (l.getLinkState() == LinkState.OFFLINE) continue;
|
||||
if (l.isAutoConfirmEnabled()) {
|
||||
if (l.isAutoConfirmEnabled() || CFG_LINKFILTER.LINKGRABBER_AUTO_CONFIRM_ENABLED.isEnabled()) {
|
||||
list.add(l);
|
||||
if (l.isAutoStartEnabled()) autoStart = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user