Commits

C...@c3d73ce0-8a6f-49c7-b76d-6d57e0e08775  committed 95f4f80

Fix autosave all option not working in Launch Plugin

  • Participants
  • Parent commits b68a9f0

Comments (0)

Files changed (4)

File plugins/Launch/CHANGELOG

 #
 
 #-----------------------------------------------------------------------------#
+Version 1.14
+Released: xx/xx/20xx
+
++Fix Save All prior to run option not saving all open buffers
+
+#-----------------------------------------------------------------------------#
 Version 1.13
-Released: 04/22/2011
+Released: 04/22/2011 
 
 +Add configuration for number of lines to buffer in the output display.
 +Fix incorrect behavior of Clear Between Runs feature that was clearing the

File plugins/Launch/info.txt

 Name=Launch
 Author=Cody Precord
 Description=Run scripts and view output
-Version=1.13
+Version=1.14

File plugins/Launch/launch/launch.py

         # Start or stop the process
         self.SetProcessRunning(not self._busy)
         if self._busy:
+            # Starting new process
             # Check Auto-clear preference
             if self.Preferences.get('autoclear', False):
                 self._buffer.Clear()
 
             # Check Auto-save preferences
-            if not self._busy:
-                if self.Preferences.get('autosaveall', False):
-                    self.MainWindow.SaveAllBuffers()
-                elif self.Preferences.get('autosave', False):
-                    self.MainWindow.SaveCurrentBuffer()
+            if self.Preferences.get('autosaveall', False):
+                self.MainWindow.SaveAllBuffers()
+            elif self.Preferences.get('autosave', False):
+                self.MainWindow.SaveCurrentBuffer()
 
             util.Log("[Launch][info] Starting process")
             handler = handlers.GetHandlerById(self.State['lang'])

File plugins/Launch/setup.py

 if setup != None:
     setup(
         name='Launch',
-        version='1.13',
+        version='1.14',
         description=__doc__,
         author=__author__,
         author_email="cprecord@editra.org",