5451: 'Clear' clipboard causes crashes
svn: r18632
This commit is contained in:
parent
f2d9da1fe0
commit
9d3cf48703
@ -1304,6 +1304,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:
|
||||||
|
Loading…
Reference in New Issue
Block a user