author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
Tue, 20 Mar 2012 18:24:35 +0100 | |
changeset 8320 | cd2d332b3063 |
parent 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)) |