=== modified file 'GTG/gtk/browser/browser.py' --- GTG/gtk/browser/browser.py 2010-06-17 08:58:32 +0000 +++ GTG/gtk/browser/browser.py 2010-06-28 18:26:46 +0000 @@ -1102,6 +1102,8 @@ if not tid: #tid_to_delete is a [project,task] tuple tids_todelete = self.get_selected_tasks() + if not tids_todelete: + return else: tids_todelete = [tid] Log.debug("going to delete %s" % tids_todelete) @@ -1385,7 +1387,7 @@ selection = tview.get_selection() # Get the selection iter if selection.count_selected_rows() <= 0: - ids = [None] + ids = [] else: model, paths = selection.get_selected_rows() iters = [model.get_iter(path) for path in paths]