This commit is contained in:
Kovid Goyal 2011-08-09 11:28:44 -06:00
parent 8d14a2f98d
commit 6affbface3

View File

@ -113,7 +113,7 @@ class InterfaceAction(QObject):
@property
def unique_name(self):
bn = self.__class__.__name__
if hasattr(self.interface_action_base_plugin, 'name'):
if getattr(self.interface_action_base_plugin, 'name'):
bn = self.interface_action_base_plugin.name
return u'%s (%s)'%(bn, self.name)