[Bprocessor-commit] gui/src/net/sourceforge/bprocessor/gui/actions ToolsDetachActionListener.java,1.
Status: Pre-Alpha
Brought to you by:
henryml
From: Nordholt <nor...@us...> - 2005-10-02 19:28:26
|
Update of /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/actions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23177/actions Modified Files: ToolsDetachActionListener.java Log Message: made temporary changes to prevent crashes Index: ToolsDetachActionListener.java =================================================================== RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/actions/ToolsDetachActionListener.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ToolsDetachActionListener.java 28 Jul 2005 06:54:41 -0000 1.2 --- ToolsDetachActionListener.java 30 Sep 2005 18:02:42 -0000 1.3 *************** *** 567,570 **** --- 567,571 ---- Surface s = sf.findById(rsvalue.getId()); + s.removeDomain(fs); fs.getSurfaces().remove(s); fsf.update(fs); *************** *** 584,587 **** --- 585,589 ---- Surface s = sf.findById(rsvalue.getId()); + s.removeDomain(cs); cs.getSurfaces().remove(s); csf.update(cs); *************** *** 601,604 **** --- 603,607 ---- Surface s = sf.findById(rsvalue.getId()); + s.removeDomain(e); e.getSurfaces().remove(s); ef.update(e); *************** *** 618,621 **** --- 621,625 ---- Surface s = sf.findById(rsvalue.getId()); + s.removeDomain(p); p.getSurfaces().remove(s); pf.update(p); |