Fix children always being included in parent category

This commit is contained in:
crschnick 2024-03-22 09:24:43 +00:00
parent 67dafeabf7
commit e345b1eaf2

View file

@ -2,6 +2,7 @@ package io.xpipe.app.comp.store;
import io.xpipe.app.fxcomps.Comp;
import io.xpipe.app.fxcomps.util.BindingsHelper;
import io.xpipe.app.prefs.AppPrefs;
import io.xpipe.app.storage.DataStorage;
import io.xpipe.app.storage.DataStoreEntry;
import javafx.beans.binding.Bindings;
@ -169,6 +170,10 @@ public class StoreSection {
return true;
}
if (!AppPrefs.get().showChildCategoriesInParentCategory().get()) {
break;
}
current = current.getParent();
}
return false;