Overwrite config is set immediately
This commit is contained in:
parent
7beb6a402d
commit
5e3d4ae044
@ -481,6 +481,12 @@ public class MainWindow implements Runnable, RipStatusHandler {
|
||||
Utils.setConfigString("rips.directory", chosenPath);
|
||||
}
|
||||
});
|
||||
configOverwriteCheckbox.addActionListener(new ActionListener() {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent arg0) {
|
||||
Utils.setConfigBoolean("file.overwrite", configOverwriteCheckbox.isSelected());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private void setupTrayIcon() {
|
||||
|
@ -12,7 +12,6 @@ import org.apache.log4j.Logger;
|
||||
import org.jsoup.Jsoup;
|
||||
import org.jsoup.nodes.Document;
|
||||
import org.jsoup.nodes.Element;
|
||||
import org.jsoup.select.Elements;
|
||||
|
||||
import com.rarchives.ripme.ripper.AbstractRipper;
|
||||
import com.rarchives.ripme.ripper.rippers.ImgurRipper;
|
||||
|
Loading…
Reference in New Issue
Block a user