From 63a4f550bce1eead177c6a41d1e853e595e21558 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Sat, 20 Feb 2010 00:05:46 +0000 Subject: toolbar cleanup --- (limited to 'tawindow.py') diff --git a/tawindow.py b/tawindow.py index f252a5d..897e672 100644 --- a/tawindow.py +++ b/tawindow.py @@ -1155,7 +1155,7 @@ class TurtleArtWindow(): elif spr and hasattr(spr,'type') and (spr.type == 'selector' or\ spr.type == 'palette' or\ spr.type == 'toolbar'): - if self.timeout_tag[0] == 0: + if self.timeout_tag[0] == 0 and hasattr(spr, 'name'): self.timeout_tag[0] = self._do_show_popup(spr.name) self.selected_spr = spr else: -- cgit v0.9.1