1
0
Fork 0
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:
Nikolay Pultsin 2011-03-09 23:19:52 +00:00
parent 3911ffc09b
commit d073898d55
20 changed files with 223 additions and 52 deletions

View file

@ -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;
}