aboutsummaryrefslogtreecommitdiff
path: root/src/prepaid-manager-applet.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-12-28 17:28:40 +0100
committerGuido Günther <agx@sigxcpu.org>2011-12-28 17:51:53 +0100
commit896f4d6b350dac0af11071dbb9ee8ae807be84d6 (patch)
tree629dcf2be73f4b521b3ce613eb158730392de202 /src/prepaid-manager-applet.py
parentdd63a041f9ac0afbb192a207765e59b9f5cd9e3c (diff)
Don't mark provider page as finished if we didn't get a selection
Diffstat (limited to 'src/prepaid-manager-applet.py')
-rwxr-xr-xsrc/prepaid-manager-applet.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/prepaid-manager-applet.py b/src/prepaid-manager-applet.py
index 2a44daa..708b6cc 100755
--- a/src/prepaid-manager-applet.py
+++ b/src/prepaid-manager-applet.py
@@ -665,20 +665,20 @@ class PPMProviderAssistant(PPMObject):
self.label_provider.set_text(self.provider)
def on_treeview_countries_changed(self, obj):
- self.assistant.set_page_complete(self.vbox_countries, True)
selection = self.treeview_countries.get_selection()
(model, iter) = selection.get_selected()
if not iter:
return
self.country_code = model.get_value(iter, 1)
+ self.assistant.set_page_complete(self.vbox_countries, True)
def on_treeview_providers_changed(self, obj):
- self.assistant.set_page_complete(self.vbox_providers, True)
selection = self.treeview_providers.get_selection()
(model, iter) = selection.get_selected()
if not iter:
return
self.provider = model.get_value(iter, 0)
+ self.assistant.set_page_complete(self.vbox_providers, True)
def on_ppm_provider_assistant_close(self, obj):
logging.debug("Selected: %s %s", self.provider, self.country_code)