Skip to content

rename_images not resettable #635

@deekayhd

Description

@deekayhd

In the LUA script "rename_images", clicking on the reset button has no effect.
@wpferguson
I am wondering if this is on purpose. The module is set as resettable in the call to darktable.register_lib and there is a method reset_callback(), but currently it does not work (entry field is not cleared). When I enable the reset, I noticed that the input field is also cleared every time darktable is started, whereas in the current version, the input field content is kept. This may be helpful, if one uses a more complex rule and does not want to re-enter it every time, especially as presets are not supported for Lua modules, right?
It is no big deal to clear the field otherwise, but also a quick fix, if desired.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions