[pitivi] render: Properly save the render directory



commit 4b4e969c6ef539dfc88cc87ef55ae641c7a9c145
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Fri Jan 25 15:18:53 2013 -0500

    render: Properly save the render directory
    
    Fixes bug #661074

 pitivi/render.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/render.py b/pitivi/render.py
index 5b65d07..8c681d9 100644
--- a/pitivi/render.py
+++ b/pitivi/render.py
@@ -826,6 +826,10 @@ class RenderDialog(Loggable):
         bus.add_signal_watch()
         self._gstSigId[bus] = bus.connect('message', self._busMessageCb)
         self.app.current.pipeline.connect("position", self._updatePositionCb)
+        # Force writing the config now, or the path will be reset
+        # if the user opens the rendering dialog again
+        self.app.settings.lastExportFolder = self.filebutton.get_current_folder()
+        self.app.settings.storeSettings()
 
     def _closeButtonClickedCb(self, unused_button):
         self.debug("Render dialog's Close button clicked")



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]