author | Aurelien Campeas <aurelien.campeas@logilab.fr> |
Wed, 09 May 2012 16:31:03 +0200 | |
changeset 8391 | 574cf17a9928 |
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)) |