From 6583aa9b34596fe53f9c730b29046ffe4438982e Mon Sep 17 00:00:00 2001 From: MaruMaruOO Date: Mon, 16 Jul 2018 10:26:29 -0400 Subject: [PATCH] Have missing icons display as question mark icons --- gui/bitmap_loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/bitmap_loader.py b/gui/bitmap_loader.py index c7ad7c548..061e05a0c 100644 --- a/gui/bitmap_loader.py +++ b/gui/bitmap_loader.py @@ -49,7 +49,7 @@ class BitmapLoader(object): @classmethod def getStaticBitmap(cls, name, parent, location): static = wx.StaticBitmap(parent) - static.SetBitmap(cls.getBitmap(name, location)) + static.SetBitmap(cls.getBitmap(name or 0, location)) return static @classmethod