author | Anthony Truchet <anthony.truchet@logilab.fr> |
Thu, 15 Mar 2012 14:26:12 +0100 | |
changeset 8306 | 4da49700b06a |
child 8352 | 0e3b41118631 |
permissions | -rw-r--r-- |
8306
4da49700b06a
[config, undo] Fix undo-support option migration
Anthony Truchet <anthony.truchet@logilab.fr>
parents:
diff
changeset
|
1 |
undo_actions = config.cfgfile_parser.get('MAIN', 'undo-support', False) |
4da49700b06a
[config, undo] Fix undo-support option migration
Anthony Truchet <anthony.truchet@logilab.fr>
parents:
diff
changeset
|
2 |
config.global_set_option('undo-enabled', bool(undo_actions)) |