Force archiveEnabled to false if we're in top only mode.

Most of the code handles this case anyway, but it's an easy place for bugs to be created. So it's safest to enforce it at the settings level.
This commit is contained in:
CalDescent 2021-10-02 19:11:47 +01:00
parent 63a35c97bc
commit 8aaf720b0b

View File

@ -616,6 +616,9 @@ public class Settings {
public boolean isArchiveEnabled() { public boolean isArchiveEnabled() {
if (this.topOnly) {
return false;
}
return this.archiveEnabled; return this.archiveEnabled;
} }