Don't try to display an icon without file name.
This commit is contained in:
parent
3ac4cb5432
commit
abec4df66e
@ -123,7 +123,7 @@ class _IconCache:
|
||||
del self._icons[evict_key]
|
||||
|
||||
def get_handle(self, name, fill_color, stroke_color):
|
||||
if name == None:
|
||||
if not name:
|
||||
return None
|
||||
|
||||
if name[0:6] == "theme:":
|
||||
|
Loading…
Reference in New Issue
Block a user