[wiican: 7/16] [xs][ui] Remove autostart mark when default mapping is unset



commit a9a245aea981be048380a6b944e6d5c6d14df97e
Author: J. FÃlix OntaÃÃn <fontanon emergya es>
Date:   Sun Feb 26 21:30:45 2012 +0100

    [xs][ui] Remove autostart mark when default mapping is unset

 wiican/ui/managerdlg.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/wiican/ui/managerdlg.py b/wiican/ui/managerdlg.py
index c73aa99..ef60cd9 100644
--- a/wiican/ui/managerdlg.py
+++ b/wiican/ui/managerdlg.py
@@ -296,6 +296,7 @@ class MappingManagerDialog(object):
 
             if mapping_manager.is_default_mapping(mapping_id):
                 self.autostart_toggleaction.set_active(False)
+                model[selected][AUTOSTART_COL] = None
                 mapping_manager.set_default_mapping(None)
             else:
                 # This is really hacky



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]