dabo Commit
Revision 5164
Date: 2009-03-31 18:49:50 -0700 (Tue, 31 Mar 2009)
Author: Ed
Trac: http://trac.dabodev.com/changeset/5164
Changed:
U trunk/ide/Editor.py
Log:
Fixed the problem with 'Save As' not saving if the original file was not
changed.
Diff:
Modified: trunk/ide/Editor.py
===================================================================
--- trunk/ide/Editor.py 2009-04-01 01:47:42 UTC (rev 5163)
+++ trunk/ide/Editor.py 2009-04-01 01:49:50 UTC (rev 5164)
@@ -809,7 +809,7 @@
def onFileSaveAs(self, evt):
fname = self.CurrentEditor.promptForSaveAs()
if fname:
- self.CurrentEditor.saveFile(fname)
+ self.CurrentEditor.saveFile(fname, force=True)
def onEditJumpToLine(self, evt):
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]