From 9d3cf48703d697ea43c272a0dfb4080f952d7ce6 Mon Sep 17 00:00:00 2001 From: Michiel Nauta Date: Mon, 19 Dec 2011 14:32:57 +0000 Subject: [PATCH] 5451: 'Clear' clipboard causes crashes svn: r18632 --- src/ScratchPad.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ScratchPad.py b/src/ScratchPad.py index 68cb95f7f..7be79f33e 100644 --- a/src/ScratchPad.py +++ b/src/ScratchPad.py @@ -1304,6 +1304,7 @@ class ScratchPadWindow(ManagedWindow.ManagedWindow): """Deletes the selected object from the object list""" selection = self.object_list.get_selection() model, paths = selection.get_selected_rows() + paths.reverse() for path in paths: node = model.get_iter(path) if node: