summaryrefslogtreecommitdiff
path: root/src/se/leap/bitmaskclient/ConfigurationWizard.java
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2013-11-07 11:09:40 +0100
committerParménides GV <parmegv@sdf.org>2013-12-10 18:16:07 +0100
commit8abbfb678433c9033674db2c53070a01aa3a16a0 (patch)
tree9dab1168c145d6ddb5fdeab0a626e69532177d52 /src/se/leap/bitmaskclient/ConfigurationWizard.java
parent0bcf72490f726825121e355afbeaf5b14636eb4d (diff)
Not added item is removed after canceling dialog.
Diffstat (limited to 'src/se/leap/bitmaskclient/ConfigurationWizard.java')
-rw-r--r--src/se/leap/bitmaskclient/ConfigurationWizard.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/se/leap/bitmaskclient/ConfigurationWizard.java b/src/se/leap/bitmaskclient/ConfigurationWizard.java
index f4409056..012a444c 100644
--- a/src/se/leap/bitmaskclient/ConfigurationWizard.java
+++ b/src/se/leap/bitmaskclient/ConfigurationWizard.java
@@ -477,6 +477,13 @@ implements ProviderListFragment.Callbacks, NewProviderDialogInterface, ProviderD
if(provider_list_fragment != null)
provider_list_fragment.unhideAll();
}
+
+ public void removeLastProviderItem() {
+ provider_list_fragment = (ProviderListFragment) getFragmentManager().findFragmentByTag(ProviderListFragment.TAG);
+ if(provider_list_fragment != null) {
+ provider_list_fragment.removeLastItem();
+ }
+ }
@Override
public void login() {