- expand the treeview after performing a seach in module tree
git-svn-id: file:///home/svn/framework3/trunk@4375 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
cde840f453
commit
817160dacb
|
@ -250,6 +250,13 @@ class MyModuleTree < MyGlade
|
|||
@model.remove(iter)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
# expand the treeview
|
||||
#
|
||||
def expand
|
||||
@treeview1.expand_all
|
||||
end
|
||||
|
||||
end # Class MyExploitsTree
|
||||
|
||||
|
|
|
@ -46,7 +46,9 @@ class ModuleSearch
|
|||
state(RUNNING)
|
||||
|
||||
# pass the found array to the MyModuleTree and remove all not matched iter
|
||||
# and finish by expanding the treeview
|
||||
$gtk2driver.module_tree.remove(found)
|
||||
$gtk2driver.module_tree.expand
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue