5451: 'Clear' clipboard causes crashes
svn: r18633
This commit is contained in:
@ -1269,6 +1269,7 @@ class ScratchPadWindow(ManagedWindow.ManagedWindow):
|
|||||||
"""Deletes the selected object from the object list"""
|
"""Deletes the selected object from the object list"""
|
||||||
selection = self.object_list.get_selection()
|
selection = self.object_list.get_selection()
|
||||||
model, paths = selection.get_selected_rows()
|
model, paths = selection.get_selected_rows()
|
||||||
|
paths.reverse()
|
||||||
for path in paths:
|
for path in paths:
|
||||||
node = model.get_iter(path)
|
node = model.get_iter(path)
|
||||||
if node:
|
if node:
|
||||||
|
Reference in New Issue
Block a user