Clipboard: some items are not tied to a specific database (text)
This commit is contained in:
1 parent
9c406e10d6
commit
4276970565
1 file changed
+1
-1
@@ -1145,7 +1145,7 @@ class ClipboardListView(object):
|
||||
|
||||
def object_pixbuf(self, column, cell, model, node, user_data=None):
|
||||
o = model.get_value(node, 1)
|
||||
if o._dbid != self.dbstate.db.get_dbid():
|
||||
if o._dbid is not None and o._dbid != self.dbstate.db.get_dbid():
|
||||
if isinstance(o.__class__.UNAVAILABLE_ICON, str):
|
||||
cell.set_property('icon-name',
|
||||
o.__class__.UNAVAILABLE_ICON)
|
||||
|
||||
Reference in new issue
Block a user