Example #1
0
 def saveParam(self):
     if self.param:
         p = self.param
         t = p["type"]
         n = QInputDialog.getText(self, "Choose Name", "Name:")
         if not n[1]:
             return
         n = str(n[0])
         _paramdict[t][n] = p
         _paramdict[t][n]["name"] = n
         saveConfig()
Example #2
0
def test_userconf():
    from vipster import settings

    settings.saveConfig()
    reload(settings)