mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 02:09:35 +02:00
'Cancel menu' preferences section
This commit is contained in:
parent
3911ffc09b
commit
d073898d55
20 changed files with 223 additions and 52 deletions
|
@ -408,6 +408,9 @@ public class NetworkLibrary {
|
|||
}
|
||||
|
||||
public NetworkTree getTreeByKey(NetworkTree.Key key) {
|
||||
if (key == null) {
|
||||
return null;
|
||||
}
|
||||
if (key.Parent == null) {
|
||||
return key.equals(myRootTree.getUniqueKey()) ? myRootTree : null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue