Revision: 6655
          http://sourceforge.net/p/jump-pilot/code/6655
Author:   edso
Date:     2020-12-21 14:59:14 +0000 (Mon, 21 Dec 2020)
Log Message:
-----------
make sure active task frame is used, active internal frame can be anything

Modified Paths:
--------------
    
core/trunk/src/com/vividsolutions/jump/workbench/ui/plugin/AbstractSaveProjectPlugIn.java

Modified: 
core/trunk/src/com/vividsolutions/jump/workbench/ui/plugin/AbstractSaveProjectPlugIn.java
===================================================================
--- 
core/trunk/src/com/vividsolutions/jump/workbench/ui/plugin/AbstractSaveProjectPlugIn.java
   2020-12-21 14:56:41 UTC (rev 6654)
+++ 
core/trunk/src/com/vividsolutions/jump/workbench/ui/plugin/AbstractSaveProjectPlugIn.java
   2020-12-21 14:59:14 UTC (rev 6655)
@@ -80,7 +80,7 @@
     // First use StringWriter to make sure no errors occur before we touch the
     // original file -- we don't want to damage the original if an error 
occurs.
     // [Jon Aquino]
-    JInternalFrame taskWindow = frame.getActiveInternalFrame();
+    JInternalFrame taskWindow = frame.getActiveTaskFrame();
     task.setMaximized(taskWindow.isMaximum());
     if (taskWindow.isMaximum()) { // save the rectangle that it would be
                                   // restored to



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

Reply via email to