2003-07-24 Tim Waugh <twaugh@redhat.com>
* src/plugins/FilterEditor.py: Fix 'edit' to do so in place. svn: r1927
This commit is contained in:
parent
7cfbe35179
commit
1fc9c63cc5
@ -337,9 +337,9 @@ class FilterEditor:
|
|||||||
value_list.append(x.get_text())
|
value_list.append(x.get_text())
|
||||||
new_rule = c(value_list)
|
new_rule = c(value_list)
|
||||||
store,iter = self.rlist.get_selected()
|
store,iter = self.rlist.get_selected()
|
||||||
# if iter:
|
if iter:
|
||||||
# rule = self.rlist.get_object(iter)
|
rule = self.rlist.get_object(iter)
|
||||||
# self.filter.delete_rule(rule)
|
self.filter.delete_rule(rule)
|
||||||
self.filter.add_rule(new_rule)
|
self.filter.add_rule(new_rule)
|
||||||
self.draw_rules()
|
self.draw_rules()
|
||||||
self.rule_top.destroy()
|
self.rule_top.destroy()
|
||||||
|
Loading…
Reference in New Issue
Block a user