Permalink
Browse files

Fix a bug that popped up after refactoring the wizard where the key f…

…ile wasn't getting picked up when validating the ssh connection
  • Loading branch information...
1 parent 6053c37 commit d0a6f76ad63059b79212a5d6a4cbf14cc2d7c802 @matburt committed Dec 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/com/matburt/mobileorg/Gui/Wizard/Wizards/SSHWizard.java
@@ -27,7 +27,6 @@
private EditText sshPort;
private TextView sshPubFileActual;
- private final String pubFileActual = sshPubFileActual.getText().toString();
public SSHWizard(WizardView wizardView, Context context) {
super(wizardView, context);
@@ -86,6 +85,7 @@ private void loginSSH() {
final String passActual = sshPass.getText().toString();
final String userActual = sshUser.getText().toString();
final String hostActual = sshHost.getText().toString();
+ final String pubFileActual = sshPubFileActual.getText().toString();
String portNumGiven = sshPort.getText().toString();
int portNum;
if (portNumGiven.trim().equals("")) {

0 comments on commit d0a6f76

Please sign in to comment.