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:
authorCarlos Alberto Cortez <calberto.cortez@gmail.com>2011-07-26 17:01:57 +0400
committerCarlos Alberto Cortez <calberto.cortez@gmail.com>2011-07-30 20:50:29 +0400
commit54c3dd01aa3c35130be64848f950a191b641b5c1 (patch)
tree269fcb596f893cbb324932efd5ad82fed911b0ff /main/src/addins/WindowsPlatform
parentfaeeaedd038757c88c0f726c3ef68199db9dc07d (diff)
[Windows] Use the correct encoding when opening a file.
We were returning the name of the encoding, not the actual encoding Id.
Diffstat (limited to 'main/src/addins/WindowsPlatform')
-rw-r--r--main/src/addins/WindowsPlatform/Dialogs/CustomOpenFileDialog.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/WindowsPlatform/Dialogs/CustomOpenFileDialog.cs b/main/src/addins/WindowsPlatform/Dialogs/CustomOpenFileDialog.cs
index 61c021952c..24902bad3d 100644
--- a/main/src/addins/WindowsPlatform/Dialogs/CustomOpenFileDialog.cs
+++ b/main/src/addins/WindowsPlatform/Dialogs/CustomOpenFileDialog.cs
@@ -140,7 +140,7 @@ namespace MonoDevelop.Platform
public string SelectedEncodingId {
get {
- return encodingBox == null ? null : encodingBox.ToString ();
+ return encodingBox == null ? null : encodingBox.SelectedEncodingId;
}
}