author | Aurelien Campeas <aurelien.campeas@logilab.fr> |
Wed, 02 May 2012 10:13:39 +0200 | |
changeset 8381 | a682f5cb73f6 |
parent 8357 | 8b16593abd85 |
child 8410 | eb6a607a0067 |
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)) |