Revision: 5335
          http://sourceforge.net/p/jump-pilot/code/5335
Author:   michaudm
Date:     2017-01-27 07:58:43 +0000 (Fri, 27 Jan 2017)
Log Message:
-----------
fix #453 about closing ChangeRasterStyle dialog (related to #433)

Modified Paths:
--------------
    core/trunk/ChangeLog
    core/trunk/Changes.txt
    
core/trunk/src/org/openjump/core/ui/plugin/layer/pirolraster/ChangeRasterImagePropertiesPlugIn.java

Modified: core/trunk/ChangeLog
===================================================================
--- core/trunk/ChangeLog        2017-01-22 15:51:03 UTC (rev 5334)
+++ core/trunk/ChangeLog        2017-01-27 07:58:43 UTC (rev 5335)
@@ -5,6 +5,9 @@
 
 * release 1.10 Changes.txt updated until 
here***********************************
 
+2017-01-27 mmichaud <m.michael.mich...@orange.fr>
+  * Fix #453 about closing ChangeRasterStyle dialog (related to #433)
+
 2017-01-21 mmichaud <m.michael.mich...@orange.fr>
   * FR 252 : Add a PlugIn to search for a command (menu Help)
   * Update CTSPlugIn to 0.1.3 for OJ 1.10 (SuggestTree is now factorized in OJ)

Modified: core/trunk/Changes.txt
===================================================================
--- core/trunk/Changes.txt      2017-01-22 15:51:03 UTC (rev 5334)
+++ core/trunk/Changes.txt      2017-01-27 07:58:43 UTC (rev 5335)
@@ -142,6 +142,7 @@
   * fix #449 severe regression in "save project as" introduced in r5178
   * fix #450: Zoombar/Edittoolbox checkbox menu item de-synchronized when
         toolbar is closed manually
+  * fix #453 about closing ChangeRasterStyle dialog (related to #433)
 
   PLUS edition
   * upgrade set-attribute plugin to v0.7.1

Modified: 
core/trunk/src/org/openjump/core/ui/plugin/layer/pirolraster/ChangeRasterImagePropertiesPlugIn.java
===================================================================
--- 
core/trunk/src/org/openjump/core/ui/plugin/layer/pirolraster/ChangeRasterImagePropertiesPlugIn.java
 2017-01-22 15:51:03 UTC (rev 5334)
+++ 
core/trunk/src/org/openjump/core/ui/plugin/layer/pirolraster/ChangeRasterImagePropertiesPlugIn.java
 2017-01-27 07:58:43 UTC (rev 5335)
@@ -41,7 +41,8 @@
  * @version Jul 03 2015 [Giuseppe Aruta] - Renamed plugin name to "Change 
Style"
  * @version Jul 06 2015 [Giuseppe Aruta] - correct bug when Largest scale
  *          >Smallest scale
- * @version Nov 14 2015 [Giuseppe Aruta] - chosen colorset is stored into the 
Blackboard            
+ * @version Nov 14 2015 [Giuseppe Aruta] - chosen colorset is stored into the 
Blackboard
+ * @version Jan 27 2017 [Micha\xEBl Michaud] - fix close dialog problem
  */
 @SuppressWarnings("deprecation")
 public class ChangeRasterImagePropertiesPlugIn extends AbstractPlugIn {
@@ -161,9 +162,10 @@
         });*/
         // Add to prevent error message and OJ to freeze if Large scale>Small
         // scale
+        // deactivate this patch, scale problem has been solved in #433
         // Now the only way to close this dialog is using cancel button
+        //dialog.setDefaultCloseOperation(dialog.DO_NOTHING_ON_CLOSE);
 
-        dialog.setDefaultCloseOperation(dialog.DO_NOTHING_ON_CLOSE);
         dialog.pack();
         GUIUtil.centreOnWindow(dialog);
         dialog.setVisible(true);


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to