Skip to content
Snippets Groups Projects
Commit f69abb45 authored by Harry Saunders's avatar Harry Saunders
Browse files

Set save_as default arg to None rather than False

parent 7f95c13d
Branches 25115_workbench_save_script_as
No related tags found
No related merge requests found
......@@ -80,8 +80,8 @@ class EditorIO(object):
# pretend the user clicked No on the dialog
return True
def write(self, save_as=False):
if save_as:
def write(self, save_as=None):
if save_as is not None:
filename = save_as
else:
filename = self.editor.fileName()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment