mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-18 11:41:21 +02:00
Merge pull request #1423 from Isaaku/issues/fix_queue_button
Fix queue count update when queue is 0
This commit is contained in:
@@ -146,10 +146,10 @@ public final class MainWindow implements Runnable, RipStatusHandler {
|
||||
if (model.size() > 0) {
|
||||
Utils.setConfigList("queue", (Enumeration<Object>) model.elements());
|
||||
Utils.saveConfig();
|
||||
|
||||
MainWindow.optionQueue.setText(String.format("%s%s", Utils.getLocalizedString("queue"),
|
||||
model.size() == 0 ? "" : "(" + model.size() + ")"));
|
||||
}
|
||||
|
||||
MainWindow.optionQueue.setText(String.format("%s%s", Utils.getLocalizedString("queue"),
|
||||
model.size() == 0 ? "" : "(" + model.size() + ")"));
|
||||
}
|
||||
|
||||
private void updateQueue() {
|
||||
|
Reference in New Issue
Block a user