diff options
author | Carlos Alberto Cortez <calberto.cortez@gmail.com> | 2011-06-03 00:32:30 +0400 |
---|---|---|
committer | Carlos Alberto Cortez <calberto.cortez@gmail.com> | 2011-06-03 08:13:40 +0400 |
commit | 3ed8baa0baa9fb8a3022dbf10769e05756725f44 (patch) | |
tree | 413cdec29ef74afddc1a2586f1336259ff838636 /main | |
parent | 3014ce67d94c1d6f62da05faa364330dabce41ef (diff) |
[Windows] Ignore the separator in the build list.
The Winforms ComboBox control doesn't support any kind
of separators, so we ignore them for now.
Diffstat (limited to 'main')
-rw-r--r-- | main/src/addins/WindowsPlatform/CustomAddFilesDialog.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/addins/WindowsPlatform/CustomAddFilesDialog.cs b/main/src/addins/WindowsPlatform/CustomAddFilesDialog.cs index 98a9d0d9dd..86ed2be87e 100644 --- a/main/src/addins/WindowsPlatform/CustomAddFilesDialog.cs +++ b/main/src/addins/WindowsPlatform/CustomAddFilesDialog.cs @@ -25,6 +25,8 @@ namespace MonoDevelop.Platform foreach (string a in BuildActions)
{
+ if (a == "--") // Ignore separators for now
+ continue;
comboActions.Items.Add(a);
}
comboActions.SelectedIndex = 0;
|