diff options
author | Walter Bender <walter@sugarlabs.org> | 2013-12-31 15:10:17 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2013-12-31 15:10:37 (GMT) |
commit | 1c1220c44a5c30be16aafc835b2cef1dff7b4707 (patch) | |
tree | c7a77d0e4131d63a041d81ec100b4e71d630d163 /TurtleArt/tawindow.py | |
parent | d77092d54685380c851e3587ddaf65a319f35b8e (diff) |
patch from ignacio of make save as icon button insensitive
Diffstat (limited to 'TurtleArt/tawindow.py')
-rw-r--r-- | TurtleArt/tawindow.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py index 23a6ad8..9f5c600 100644 --- a/TurtleArt/tawindow.py +++ b/TurtleArt/tawindow.py @@ -4667,6 +4667,9 @@ before making changes to your program')) else: for ds_id in self.saved_pictures: path_list.append(ds_id[0]) + if len(path_list) < 1: + debug_output('nothing to save to ODP', self.running_sugar) + return pres = TurtleODP() pres.create_presentation(TMP_ODP_PATH, 1024, 768) |