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:
authorMichael Hutchinson <m.j.hutchinson@gmail.com>2015-01-23 00:49:11 +0300
committerMichael Hutchinson <m.j.hutchinson@gmail.com>2015-01-26 18:53:31 +0300
commitf28abb85d24acea0e176626fb77f7aa782f795b8 (patch)
treeb6f3a63c6c5598373a20acaf1b4bbb021de24a3a /main/src/core/MonoDevelop.Ide/MonoDevelop.Components
parentf55b70206d49d40e9a04e2b1bfe2e13097f0ec1c (diff)
[Ide] Fix case where relative path entry could be absolute
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Components')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Components/BaseFileEntry.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components/BaseFileEntry.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components/BaseFileEntry.cs
index 7be91cb905..22273a734e 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components/BaseFileEntry.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components/BaseFileEntry.cs
@@ -104,7 +104,7 @@ namespace MonoDevelop.Components
loading = true;
if (!string.IsNullOrEmpty (value) && displayAsRelativePath)
value = ((FilePath)value).ToRelative (DefaultPath);
- pathEntry.Text = value;
+ pathEntry.Text = value ?? "";
loading = false;
}
}
@@ -132,7 +132,7 @@ namespace MonoDevelop.Components
string path = ShowBrowseDialog (BrowserTitle, startIn);
if (path != null)
- pathEntry.Text = path;
+ Path = path;
}
void OnTextChanged (object o, EventArgs args)