Skip to content

Commit

Permalink
lua/lib.c - trigger reload of visible modules after lua lib module
Browse files Browse the repository at this point in the history
            visibility change
  • Loading branch information
wpferguson authored and TurboGit committed Nov 20, 2024
1 parent 9232c6e commit 8db7a1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lua/lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ static int visible_member(lua_State *L)
else
{
dt_lib_set_visible(module, lua_toboolean(L, 3));
// force a reload of visible modules
dt_view_manager_switch_by_view(darktable.view_manager, dt_view_manager_get_current_view(darktable.view_manager));
return 0;
}
}
Expand Down

0 comments on commit 8db7a1c

Please sign in to comment.