fixed bu when trying to drag anything over an empty view
This commit is contained in:
parent
f8f3bd712e
commit
d699afa6a5
|
@ -214,7 +214,7 @@ class ViewFrame (gtk.Frame):
|
|||
|
||||
elif isinstance(obj, fluents.dataset.Dataset):
|
||||
view = self.get_view()
|
||||
if view.is_mappable_with(obj):
|
||||
if view != None and view.is_mappable_with(obj):
|
||||
view._update_color_from_dataset(obj)
|
||||
|
||||
elif isinstance(obj, fluents.dataset.Selection):
|
||||
|
|
Reference in New Issue