This commit is contained in:
alpinechough 2011-01-15 16:39:06 +08:00 коммит произвёл Zoltan Varga
Родитель 3ca6ee4a05
Коммит 3f1108bea2
1 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -271,11 +271,12 @@ public class CoverageView {
SourceWindow sourceView = ShowSourceFor (method.ParentClass);
sourceView.CenterOnMethod (method);
} else {
if (tree.ExpandRow (model.GetPath (iter), true)) {
// LAME: This seems to collapse the entire tree...
tree.CollapseRow (model.GetPath (iter));
TreePath treePath = model.GetPath (iter);
if (tree.GetRowExpanded (treePath)) {
tree.CollapseRow (treePath);
} else {
tree.ExpandRow (model.GetPath (iter), false);
tree.ExpandRow (treePath, false);
}
}
}