Commits

Anonymous committed d89928c

dialog: actions are the first entries in base question values

Comments (0)

Files changed (1)

ropemode/dialog.py

         for name, conf in confs.items():
             result[name] = askdata(conf)
     actions.append('batchset')
-    names = list(confs.keys())
+    names = list(actions)
     names.extend(optionals.keys())
-    names.extend(actions)
+    names.extend(confs.keys())
     base_question = Data('Choose what to do: ',
                          default=actions[0], values=names)
     batchset_question = Data('Batch sets: ')