Hi,

If I add this code in luarc the darktable executes without problem, but if
I click on export module in lighttable, the darktable crash.

I am using the latest version of darktable from GIT.

----------------------------------------------------------------------
  local dt = require "darktable"

  --create module
  dt.register_lib(
    "test",     -- Module name
    "test",     -- name
    true,       -- expandable
    false,      -- resetable
    {
      [dt.gui.views.lighttable] = {"DT_UI_CONTAINER_PANEL_RIGHT_CENTER",
400}
    },
    dt.new_widget("label") {
      label = "test label"
    },
    nil,  -- view_enter
    nil   -- view_leave
  )
----------------------------------------------------------------------

​Thanks in advance.​


-- 
Jefferson Ferreira

___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to [email protected]

Reply via email to