Skip to content

Commit

Permalink
Fix cast exception.
Browse files Browse the repository at this point in the history
Former-commit-id: 057338ead1bf2707b465dd7937f46315bb0b7968
  • Loading branch information
ylangisc committed Jan 5, 2015
1 parent a7cb152 commit dae0d8f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions source/ch/cyberduck/ui/winforms/BookmarkForm.cs
Expand Up @@ -20,10 +20,10 @@
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
using Ch.Cyberduck.Ui.Controller;
using Ch.Cyberduck.Ui.Winforms.Controls;
using ch.cyberduck.core;
using ch.cyberduck.core.ftp;
using Ch.Cyberduck.Ui.Controller;
using Ch.Cyberduck.Ui.Winforms.Controls;

namespace Ch.Cyberduck.Ui.Winforms
{
Expand All @@ -44,7 +44,7 @@ public BookmarkForm()
toggleOptionsLabel.ImageIndex = (_expanded ? 1 : 4);

openFileDialog.Title = LocaleFactory.localizedString("Select the private key in PEM or PuTTY format",
"Credentials");
"Credentials");

openFileDialog.Filter = "Private Key Files (*.pem;*.crt;*.ppk)|*.pem;*.crt;*.ppk|All Files (*.*)|*.*";
openFileDialog.FilterIndex = 1;
Expand Down Expand Up @@ -117,8 +117,8 @@ public void PopulateConnectModes(List<KeyValuePair<string, FTPConnectMode>> mode
{
comboBoxConnectMode.DataSource = null;
comboBoxConnectMode.DataSource = modes;
comboBoxConnectMode.ValueMember = "Key";
comboBoxConnectMode.DisplayMember = "Value";
comboBoxConnectMode.DisplayMember = "Key";
comboBoxConnectMode.ValueMember = "Value";
}

public void PopulateEncodings(List<string> encodings)
Expand Down

0 comments on commit dae0d8f

Please sign in to comment.