Projects/laydi
Projects
/
laydi
Archived
7
0
Fork 0

fixed bu when trying to drag anything over an empty view

This commit is contained in:
Arnar Flatberg 2007-03-01 15:03:53 +00:00
parent f8f3bd712e
commit d699afa6a5
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ class ViewFrame (gtk.Frame):
elif isinstance(obj, fluents.dataset.Dataset): elif isinstance(obj, fluents.dataset.Dataset):
view = self.get_view() 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) view._update_color_from_dataset(obj)
elif isinstance(obj, fluents.dataset.Selection): elif isinstance(obj, fluents.dataset.Selection):