MCPcopy Create free account
hub / github.com/RipMeApp/ripme / updateQueue

Method updateQueue

src/main/java/com/rarchives/ripme/ui/MainWindow.java:131–142  ·  view source on GitHub ↗
(DefaultListModel<Object> model)

Source from the content-addressed store, hash-verified

129 private static AbstractRipper ripper;
130
131 private void updateQueue(DefaultListModel<Object> model) {
132 if (model == null)
133 model = queueListModel;
134
135 if (model.size() > 0) {
136 Utils.setConfigList("queue", model.elements());
137 Utils.saveConfig();
138 }
139
140 MainWindow.optionQueue.setText(String.format("%s%s", Utils.getLocalizedString("queue"),
141 model.size() == 0 ? "" : "(" + model.size() + ")"));
142 }
143
144 private void updateQueue() {
145 updateQueue(null);

Callers 3

createUIMethod · 0.95
intervalAddedMethod · 0.95
ripNextAlbumMethod · 0.95

Calls 3

setConfigListMethod · 0.95
saveConfigMethod · 0.95
getLocalizedStringMethod · 0.95

Tested by

no test coverage detected