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:
@@ -68,7 +68,7 @@ end
|
||||
|
||||
main_label.reset_callback = reset_widget
|
||||
|
||||
if dt.gui.current_view().name == "lighttable" then
|
||||
if dt.gui.current_view().id == "lighttable" then
|
||||
install_module()
|
||||
else
|
||||
if not ipiu.event_registered then
|
||||
|
||||
Reference in New Issue
Block a user