Revision: 6219
          http://sourceforge.net/p/jump-pilot/code/6219
Author:   edso
Date:     2020-01-13 15:44:46 +0000 (Mon, 13 Jan 2020)
Log Message:
-----------
as requested by Peppe

I ask Michael or Ede if kindly can make this correction for me:
The file to correct is
org.openjump.core.ui.plugin.raster.ProfileGraphPlugIn.java
starting from line 152 at the method:
   private void getDialogValues(MultiInputDialog dialog)
{        drawnType = dialog.getBoolean(DRAWN);        selectedType =
dialog.getBoolean(SELECTED);        HEIGHT =
dialog.getText(HORIZONTAL_AXES_LABEL);        WIDTH =
dialog.getText(VERICAL_AXES_LABEL);        UNIT =
dialog.getText(LAYER_UNIT);        rLayer = (RasterImageLayer)
dialog.getLayerable(CLAYER);
    }
------------------------------------------------------------------
The correction is on lines 155 and 157 (I belive):
   private void getDialogValues(MultiInputDialog dialog)
{        drawnType = dialog.getBoolean(DRAWN);        selectedType =
dialog.getBoolean(SELECTED);        WIDTH =
dialog.getText(HORIZONTAL_AXES_LABEL);        HEIGHT =
dialog.getText(VERICAL_AXES_LABEL);        UNIT =
dialog.getText(LAYER_UNIT);        rLayer = (RasterImageLayer)
dialog.getLayerable(CLAYER);
    }

Modified Paths:
--------------
    core/trunk/src/org/openjump/core/ui/plugin/raster/ProfileGraphPlugIn.java

Modified: 
core/trunk/src/org/openjump/core/ui/plugin/raster/ProfileGraphPlugIn.java
===================================================================
--- core/trunk/src/org/openjump/core/ui/plugin/raster/ProfileGraphPlugIn.java   
2020-01-13 15:38:53 UTC (rev 6218)
+++ core/trunk/src/org/openjump/core/ui/plugin/raster/ProfileGraphPlugIn.java   
2020-01-13 15:44:46 UTC (rev 6219)
@@ -152,8 +152,8 @@
     private void getDialogValues(MultiInputDialog dialog) {
         drawnType = dialog.getBoolean(DRAWN);
         selectedType = dialog.getBoolean(SELECTED);
-        HEIGHT = dialog.getText(HORIZONTAL_AXES_LABEL);
-        WIDTH = dialog.getText(VERICAL_AXES_LABEL);
+        WIDTH = dialog.getText(HORIZONTAL_AXES_LABEL);
+        HEIGHT = dialog.getText(VERICAL_AXES_LABEL);
         UNIT = dialog.getText(LAYER_UNIT);
         rLayer = (RasterImageLayer) dialog.getLayerable(CLAYER);
 



_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to