changed darktable.current_view().name to darktable.current_view().id for view check because name is translated and id is not.
This commit is contained in:
@@ -141,7 +141,7 @@ table.insert(mE.widgets, slider)
|
||||
-- ... and tell dt about it all
|
||||
|
||||
|
||||
if dt.gui.current_view().name == "lighttable" then -- make sure we are in lighttable view
|
||||
if dt.gui.current_view().id == "lighttable" then -- make sure we are in lighttable view
|
||||
install_module() -- register the lib
|
||||
else
|
||||
if not mE.event_registered then -- if we are not in lighttable view then register an event to signal when we might be
|
||||
|
||||
Reference in New Issue
Block a user