svn commit: r595228 - /ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PosDialog.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r595228 - /ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PosDialog.java

lektran
Author: lektran
Date: Wed Nov 14 23:28:32 2007
New Revision: 595228

URL: http://svn.apache.org/viewvc?rev=595228&view=rev
Log:
If you close a PosDialog by clicking on the "X" in the corner, the callback method wasn't being fired

Modified:
    ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PosDialog.java

Modified: ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PosDialog.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PosDialog.java?rev=595228&r1=595227&r2=595228&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PosDialog.java (original)
+++ ofbiz/trunk/specialpurpose/pos/src/org/ofbiz/pos/screen/PosDialog.java Wed Nov 14 23:28:32 2007
@@ -162,6 +162,7 @@
         // set the window listener
         dialog.addWindowListener(new WindowListener() {
             public void windowClosing(WindowEvent e) {
+                close();
             }
 
             public void windowActivated(WindowEvent e) {