From: <md...@us...> - 2009-11-03 16:27:23
|
Revision: 7924 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7924&view=rev Author: mdboom Date: 2009-11-03 16:27:13 +0000 (Tue, 03 Nov 2009) Log Message: ----------- [2880836] Save from toolbar changes directory with WX backend Modified Paths: -------------- branches/v0_99_maint/lib/matplotlib/backends/backend_wx.py Modified: branches/v0_99_maint/lib/matplotlib/backends/backend_wx.py =================================================================== --- branches/v0_99_maint/lib/matplotlib/backends/backend_wx.py 2009-11-03 16:23:41 UTC (rev 7923) +++ branches/v0_99_maint/lib/matplotlib/backends/backend_wx.py 2009-11-03 16:27:13 UTC (rev 7924) @@ -1794,7 +1794,7 @@ default_file = "image." + self.canvas.get_default_filetype() dlg = wx.FileDialog(self._parent, "Save to file", "", default_file, filetypes, - wx.SAVE|wx.OVERWRITE_PROMPT|wx.CHANGE_DIR) + wx.SAVE|wx.OVERWRITE_PROMPT) dlg.SetFilterIndex(filter_index) if dlg.ShowModal() == wx.ID_OK: dirname = dlg.GetDirectory() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |