diff options
author | Manish Sinha <manish.sinha@xamarin.com> | 2015-08-13 03:32:01 +0300 |
---|---|---|
committer | Manish Sinha <manish.sinha@xamarin.com> | 2015-08-13 03:32:01 +0300 |
commit | f21c3d665cd9d474d5f67df92690aaa79f84b208 (patch) | |
tree | 2a0fd859148030fb8c3959d6763c7c42ad5b32b5 /main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest.Results | |
parent | 96ef109274292c29ac6441cddac31fae925b3c59 (diff) |
[AutoTest] Expand the row in TreeView when it is selected
It is needed for scenarios like SolutionTree because the
children rows are not made available for the first time
unless the row is expanded.
Also update SolutionExplorerController to fully
utilize this fix
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest.Results')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest.Results/GtkTreeModelResult.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest.Results/GtkTreeModelResult.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest.Results/GtkTreeModelResult.cs index 8a5f04b35b..a3d2b9efcd 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest.Results/GtkTreeModelResult.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest.Results/GtkTreeModelResult.cs @@ -234,6 +234,7 @@ namespace MonoDevelop.Components.AutoTest.Results if (ParentWidget is TreeView) { TreeView treeView = (TreeView) ParentWidget; treeView.Selection.UnselectAll (); + treeView.ExpandRow (TModel.GetPath (resultIter.Value), false); treeView.Selection.SelectIter ((TreeIter) resultIter); treeView.SetCursor (TModel.GetPath ((TreeIter) resultIter), treeView.Columns [0], false); |