aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorMladen Horvat <acid-burn@opendreambox.org>2009-12-11 11:08:20 +0100
committerMladen Horvat <acid-burn@opendreambox.org>2009-12-11 11:08:20 +0100
commitf239e0373a40522e9d3121bbe656e91fb6179099 (patch)
tree5e643119699a27a7c809896c037e7c817971ae07 /lib/python
parent614c8a7a33de31665c7b7c0bc8cbcaa8ed353e91 (diff)
parent0f6258f9b8d09188090e591bfdf7721f03d0d8e3 (diff)
downloadenigma2-f239e0373a40522e9d3121bbe656e91fb6179099.tar.gz
enigma2-f239e0373a40522e9d3121bbe656e91fb6179099.zip
Merge branch 'bug_202_networkconfig_cleanup' into experimental
Diffstat (limited to 'lib/python')
-rwxr-xr-xlib/python/Screens/NetworkSetup.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/python/Screens/NetworkSetup.py b/lib/python/Screens/NetworkSetup.py
index be508de6..c24fddeb 100755
--- a/lib/python/Screens/NetworkSetup.py
+++ b/lib/python/Screens/NetworkSetup.py
@@ -542,7 +542,10 @@ class AdapterSetup(Screen, ConfigListScreen, HelpableScreen):
if self["config"].isChanged():
self.session.openWithCallback(self.keySaveConfirm, MessageBox, (_("Are you sure you want to activate this network configuration?\n\n") + self.oktext ) )
else:
- self.close('cancel')
+ if self.finished_cb:
+ self.finished_cb()
+ else:
+ self.close('cancel')
def keySaveConfirm(self, ret = False):
if (ret == True):