Revision: 1235
Author: mathiasbr
Date: 2006-07-25 06:47:46 -0700 (Tue, 25 Jul 2006)
ViewCVS: http://svn.sourceforge.net/spring-rich-c/?rev=1235&view=rev
Log Message:
-----------
fix for RCP-273, thanks Benoit Xhenseval!
Modified Paths:
--------------
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/dialog/ApplicationDialog.java
Modified:
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/dialog/ApplicationDialog.java
===================================================================
---
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/dialog/ApplicationDialog.java
2006-07-25 12:36:54 UTC (rev 1234)
+++
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/dialog/ApplicationDialog.java
2006-07-25 13:47:46 UTC (rev 1235)
@@ -618,9 +618,11 @@
* re-built on the next show.
*/
protected final void dispose() {
- onWindowClosing();
- this.dialog.dispose();
- this.dialog = null;
+ if(dialog != null) {
+ onWindowClosing();
+ this.dialog.dispose();
+ this.dialog = null;
+ }
}
/**
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
spring-rich-c-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spring-rich-c-cvs