Browse Source

fix settings window

settings in this window will affect all boards including the header setting
Patrick Schreiber 8 years ago
parent
commit
ce8a8a0b77
3 changed files with 6 additions and 4 deletions
  1. 1 1
      KCG/VERSION
  2. 4 2
      KCG/base/kcg.py
  3. 1 1
      setup.py

+ 1 - 1
KCG/VERSION

@@ -1 +1 @@
-0.3.2.165.0405-beta
+0.3.2.166.0405-beta

+ 4 - 2
KCG/base/kcg.py

@@ -401,8 +401,10 @@ class Gui(QtGui.QMainWindow):
                 QtGui.QMessageBox.information(self, "Change Language", "Language change takes effect after Gui restart", 1)
             if setting == 'advanced_control':
                 self.showAdvancedControl(getattr(self.storage, setting))
-            if bif.bk_get_config(setting) != None:
-                bif.bk_update_config(setting, getattr(self.storage, setting))
+
+            for bid in available_boards.board_ids:
+                if bif.bk_get_config(bid, setting) != None:
+                    bif.bk_update_config(bid, setting, getattr(self.storage, setting))
 
     def showAdvancedControl(self, value):
         """

+ 1 - 1
setup.py

@@ -5,7 +5,7 @@ DESCRIPTION = "KCG KAPTURE Control Gui"
 
 setup(
     name='KCG',
-    version='0.3.2.165.0405-beta',
+    version='0.3.2.166.0405-beta',
     author='Patrick Schreiber',
     author_email='uldfk@student.kit.edu',
 #    license='GPL',