setup: clear all fields when cancelling the Add page

This commit is contained in:
Hylke Bons 2012-03-01 18:09:14 +00:00
parent 977c225e9f
commit e1053ada73

View file

@ -179,7 +179,11 @@ namespace SparkleShare {
public void PageCancelled ()
{
PendingInvite = null;
PendingInvite = null;
SelectedPlugin = Plugins [0];
PreviousAddress = "";
PreviousPath = "";
PreviousUrl = "";
if (HideWindowEvent != null)
HideWindowEvent ();