From 1c1220c44a5c30be16aafc835b2cef1dff7b4707 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Tue, 31 Dec 2013 15:10:17 +0000 Subject: patch from ignacio of make save as icon button insensitive --- (limited to 'TurtleArt') 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) -- cgit v0.9.1