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:
Bill Ferguson
2020-08-16 13:18:27 -04:00
parent 771e03ce76
commit 509c7da384
19 changed files with 19 additions and 19 deletions

View File

@@ -411,7 +411,7 @@ table.insert(ee.widgets, combobox)
table.insert(ee.widgets, box1)
-- register new module "external editors" in lighttable ------------------------
if dt.gui.current_view().name == "lighttable" then
if dt.gui.current_view().id == "lighttable" then
install_module()
else
if not ee.event_registered then