From e1053ada73c95a3f2ea3967ae57e5ac939298d2c Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Thu, 1 Mar 2012 18:09:14 +0000 Subject: [PATCH] setup: clear all fields when cancelling the Add page --- SparkleShare/SparkleSetupController.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/SparkleShare/SparkleSetupController.cs b/SparkleShare/SparkleSetupController.cs index 972dcf7d..eb72f79b 100755 --- a/SparkleShare/SparkleSetupController.cs +++ b/SparkleShare/SparkleSetupController.cs @@ -179,7 +179,11 @@ namespace SparkleShare { public void PageCancelled () { - PendingInvite = null; + PendingInvite = null; + SelectedPlugin = Plugins [0]; + PreviousAddress = ""; + PreviousPath = ""; + PreviousUrl = ""; if (HideWindowEvent != null) HideWindowEvent ();