Fixed autorip from clipboard checkbox listener
This commit is contained in:
parent
66212725bd
commit
af64e33920
@ -737,10 +737,16 @@ public final class MainWindow implements Runnable, RipStatusHandler {
|
|||||||
addCheckboxListener(configSaveURLsOnly, "urls_only.save");
|
addCheckboxListener(configSaveURLsOnly, "urls_only.save");
|
||||||
addCheckboxListener(configURLHistoryCheckbox, "remember.url_history");
|
addCheckboxListener(configURLHistoryCheckbox, "remember.url_history");
|
||||||
addCheckboxListener(configSaveAlbumTitles, "album_titles.save");
|
addCheckboxListener(configSaveAlbumTitles, "album_titles.save");
|
||||||
addCheckboxListener(configClipboardAutorip, "clipboard.autorip");
|
|
||||||
addCheckboxListener(configSaveDescriptions, "descriptions.save");
|
addCheckboxListener(configSaveDescriptions, "descriptions.save");
|
||||||
addCheckboxListener(configPreferMp4, "prefer.mp4");
|
addCheckboxListener(configPreferMp4, "prefer.mp4");
|
||||||
addCheckboxListener(configWindowPosition, "window.position");
|
addCheckboxListener(configWindowPosition, "window.position");
|
||||||
|
|
||||||
|
configClipboardAutorip.addActionListener(arg0 -> {
|
||||||
|
Utils.setConfigBoolean("clipboard.autorip", configClipboardAutorip.isSelected());
|
||||||
|
ClipboardUtils.setClipboardAutoRip(configClipboardAutorip.isSelected());
|
||||||
|
trayMenuAutorip.setState(configClipboardAutorip.isSelected());
|
||||||
|
Utils.configureLogger();
|
||||||
|
});
|
||||||
|
|
||||||
queueListModel.addListDataListener(new ListDataListener() {
|
queueListModel.addListDataListener(new ListDataListener() {
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user