Remove superflous database access in delete signalhandler
svn: r16767
This commit is contained in:
parent
97b1604269
commit
82799507d1
@ -600,7 +600,6 @@ class FlatBaseModel(gtk.GenericTreeModel):
|
|||||||
if self.node_map.get_path(handle) is None:
|
if self.node_map.get_path(handle) is None:
|
||||||
return # row is not currently displayed
|
return # row is not currently displayed
|
||||||
self.clear_cache(handle)
|
self.clear_cache(handle)
|
||||||
data = self.map(handle)
|
|
||||||
delete_val = (self.node_map.get_sortkey(handle), handle)
|
delete_val = (self.node_map.get_sortkey(handle), handle)
|
||||||
delete_path = self.node_map.delete(delete_val)
|
delete_path = self.node_map.delete(delete_val)
|
||||||
#delete_path is an integer from 0 to n-1
|
#delete_path is an integer from 0 to n-1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user