mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-22 07:30:24 +00:00
Fix children always being included in parent category
This commit is contained in:
parent
67dafeabf7
commit
e345b1eaf2
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue