[Schmitzm-commits] r2309 - trunk/schmitzm-excelcsv/src/main/java/de/schmitzm/csv/gui

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Sat May 11 17:31:21 CEST 2013


Author: mojays
Date: 2013-05-11 17:31:21 +0200 (Sat, 11 May 2013)
New Revision: 2309

Modified:
   trunk/schmitzm-excelcsv/src/main/java/de/schmitzm/csv/gui/CSVPreviewPanel.java
Log:
CSVPreviewPanel: update CSV parameters on change from value adjusting to not adjusting

Modified: trunk/schmitzm-excelcsv/src/main/java/de/schmitzm/csv/gui/CSVPreviewPanel.java
===================================================================
--- trunk/schmitzm-excelcsv/src/main/java/de/schmitzm/csv/gui/CSVPreviewPanel.java	2013-05-11 13:26:28 UTC (rev 2308)
+++ trunk/schmitzm-excelcsv/src/main/java/de/schmitzm/csv/gui/CSVPreviewPanel.java	2013-05-11 15:31:21 UTC (rev 2309)
@@ -337,7 +337,10 @@
      * Sets whether listener is currently adjusting.
      */
     public void setValueIsAdjusting(boolean valueIsAdjusting) {
+      boolean adjustingFinished = getValueIsAdjusting() && !valueIsAdjusting;
       this.valueIsAdjusting = valueIsAdjusting;
+      if ( adjustingFinished )
+        invokeLaterCsvParametersUpdate();
     }
 
     /**



More information about the Schmitzm-commits mailing list