Some more minor refactoring
This commit is contained in:
parent
ff6aeeda68
commit
66212725bd
@ -731,9 +731,8 @@ public final class MainWindow implements Runnable, RipStatusHandler {
|
|||||||
configSaveDirLabel.setText(Utils.shortenPath(chosenPath));
|
configSaveDirLabel.setText(Utils.shortenPath(chosenPath));
|
||||||
Utils.setConfigString("rips.directory", chosenPath);
|
Utils.setConfigString("rips.directory", chosenPath);
|
||||||
});
|
});
|
||||||
configOverwriteCheckbox.addActionListener(arg0 -> Utils.setConfigBoolean("file.overwrite", configOverwriteCheckbox.isSelected()));
|
addCheckboxListener(configSaveOrderCheckbox, "download.save_order");
|
||||||
configSaveOrderCheckbox.addActionListener(arg0 -> Utils.setConfigBoolean("download.save_order", configSaveOrderCheckbox.isSelected()));
|
addCheckboxListener(configOverwriteCheckbox, "file.overwrite");
|
||||||
|
|
||||||
addCheckboxListener(configSaveLogs, "log.save");
|
addCheckboxListener(configSaveLogs, "log.save");
|
||||||
addCheckboxListener(configSaveURLsOnly, "urls_only.save");
|
addCheckboxListener(configSaveURLsOnly, "urls_only.save");
|
||||||
addCheckboxListener(configURLHistoryCheckbox, "remember.url_history");
|
addCheckboxListener(configURLHistoryCheckbox, "remember.url_history");
|
||||||
|
Loading…
Reference in New Issue
Block a user