diff options
author | Carlos Alberto Cortez <calberto.cortez@gmail.com> | 2011-07-26 17:01:57 +0400 |
---|---|---|
committer | Carlos Alberto Cortez <calberto.cortez@gmail.com> | 2011-07-30 20:50:29 +0400 |
commit | 54c3dd01aa3c35130be64848f950a191b641b5c1 (patch) | |
tree | 269fcb596f893cbb324932efd5ad82fed911b0ff /main/src/addins/WindowsPlatform | |
parent | faeeaedd038757c88c0f726c3ef68199db9dc07d (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.cs | 2 |
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;
}
}
|