Author: slotia
Date: 2009-03-26 05:54:50 -0700 (Thu, 26 Mar 2009)
New Revision: 16340
Modified:
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/task/TaskDialog.java
Log:
Fixed a bug in TaskDialog where closing the window wouldn't work if an
exception had been thrown.
Modified:
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/task/TaskDialog.java
===================================================================
---
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/task/TaskDialog.java
2009-03-26 12:52:50 UTC (rev 16339)
+++
core3/work-swing-impl/trunk/src/main/java/org/cytoscape/work/internal/task/TaskDialog.java
2009-03-26 12:54:50 UTC (rev 16340)
@@ -272,7 +272,10 @@
{
public void windowClosing(WindowEvent e)
{
- cancel();
+ if (errorOccurred)
+ close();
+ else
+ cancel();
}
});
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en
-~----------~----~----~----~------~----~------~--~---