diff --git a/openlp/core/lib/toolbar.py b/openlp/core/lib/toolbar.py index 824199469..a1af42736 100644 --- a/openlp/core/lib/toolbar.py +++ b/openlp/core/lib/toolbar.py @@ -120,11 +120,8 @@ class OpenLPToolbar(QtGui.QToolBar): try: if self.icons[title]: return self.icons[title] - else: - log.error(u'getIconFromTitle - no icon for %s' % title) - return QtGui.QIcon() except: - log.exception(u'getIconFromTitle - title %s not found' % title) + log.exception(u'getIconFromTitle - no icon for %s' % title) return QtGui.QIcon() def makeWidgetsInvisible(self, widgets):