Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriain holmes <iain@xamarin.com>2015-05-12 19:30:53 +0300
committeriain holmes <iain@xamarin.com>2015-05-12 19:30:53 +0300
commitab89d428ba79d1dd6e2634f83b5cd62c7976af3e (patch)
tree00c033b5303bd77d3f7dc2fe4a484e9bb360e494 /main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest.Results
parent31229e530974da0cbf5c3f80cdf04835ba9b98e8 (diff)
[Autotest] Pass a null for column name and the Model will operate on the first column
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest.Results')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest.Results/GtkWidgetResult.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest.Results/GtkWidgetResult.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest.Results/GtkWidgetResult.cs
index 8b5e814425..d00592788a 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest.Results/GtkWidgetResult.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest.Results/GtkWidgetResult.cs
@@ -136,6 +136,10 @@ namespace MonoDevelop.Components.AutoTest.Results
return null;
}
+ if (column == null) {
+ return new GtkTreeModelResult (resultWidget, model, 0);
+ }
+
// Check if the class has the SemanticModelAttribute
Type modelType = model.GetType ();
SemanticModelAttribute attr = modelType.GetCustomAttribute<SemanticModelAttribute> ();