[Schmitzm-commits] r594 - branches/1.0-gt2-2.6/src/skrueger/i8n

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Sat Nov 28 02:12:22 CET 2009


Author: alfonx
Date: 2009-11-28 02:12:21 +0100 (Sat, 28 Nov 2009)
New Revision: 594

Modified:
   branches/1.0-gt2-2.6/src/skrueger/i8n/SwitchLanguageDialog.java
Log:
* better not use dispose in the constructor.. use setModal(false)

Modified: branches/1.0-gt2-2.6/src/skrueger/i8n/SwitchLanguageDialog.java
===================================================================
--- branches/1.0-gt2-2.6/src/skrueger/i8n/SwitchLanguageDialog.java	2009-11-28 01:11:36 UTC (rev 593)
+++ branches/1.0-gt2-2.6/src/skrueger/i8n/SwitchLanguageDialog.java	2009-11-28 01:12:21 UTC (rev 594)
@@ -96,7 +96,8 @@
 		if (languages.size() == 1) {
 			LOGGER.debug("Only language '" + languages.get(0)
 					+ "' is available. It has been selected automatically.");
-			dispose();
+//			dispose();
+			setModal(false);
 			return;
 		}
 



More information about the Schmitzm-commits mailing list