diff options
Diffstat (limited to 'release/scripts/startup/bl_operators/presets.py')
-rw-r--r-- | release/scripts/startup/bl_operators/presets.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_operators/presets.py b/release/scripts/startup/bl_operators/presets.py index 663de209c15..4df0d32f946 100644 --- a/release/scripts/startup/bl_operators/presets.py +++ b/release/scripts/startup/bl_operators/presets.py @@ -563,7 +563,7 @@ class AddPresetKeyconfig(AddPresetBase, Operator): preset_subdir = "keyconfig" def add(self, context, filepath): - bpy.ops.wm.keyconfig_export(filepath=filepath) + bpy.ops.preferences.keyconfig_export(filepath=filepath) bpy.utils.keyconfig_set(filepath) def pre_cb(self, context): |