рефакторинг. переносил текущие объекты в другое место
This commit is contained in:
@@ -449,8 +449,8 @@ public class Message extends FileObject {
|
||||
}
|
||||
@Override
|
||||
public boolean isVisible() {
|
||||
if (Current.HasFile() && Current.getFile().name.equals(file)) {
|
||||
Object o = Current_.get(Current.FileGraphElement);
|
||||
if (Global.mainModule.HasFile() && Global.mainModule.getFile().name.equals(file)) {
|
||||
Object o =Global.mainModule.get(Current.FileGraphElement);
|
||||
return !(o instanceof FileObjectWithMessages) || ((FileObjectWithMessages) o).HasMessage(this);
|
||||
} else return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user