Browse Source

Oops when clicking the list not under a cell

master
Julio Biason 15 years ago
parent
commit
6dd419815d
  1. 2
      mitterlib/ui/ui_pygtk.py

2
mitterlib/ui/ui_pygtk.py

@ -780,6 +780,8 @@ class Interface(object):
cannot do.""" cannot do."""
(model, iter) = view.get_selection().get_selected() (model, iter) = view.get_selection().get_selected()
if not iter:
return
data = model.get_value(iter, 0) data = model.get_value(iter, 0)
self._delete_action.set_property('sensitive', self._delete_action.set_property('sensitive',

Loading…
Cancel
Save